all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: Maximiliano Sandoval <m.sandoval@proxmox.com>
Cc: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] applied-series: [PATCH pmg-docs 1/3] fix typos in perl and css files
Date: Thu, 8 Aug 2024 14:08:40 +0200	[thread overview]
Message-ID: <20240808140840.14de0727@rosa.proxmox.com> (raw)
In-Reply-To: <20240807104944.245454-1-m.sandoval@proxmox.com>

applied all 3 patches with the reference to typos-cli added to the commit
message - Thanks!


On Wed,  7 Aug 2024 12:49:42 +0200
Maximiliano Sandoval <m.sandoval@proxmox.com> wrote:

> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
> ---
>  asciidoc-pmg.in       | 6 +++---
>  asciidoc/pmg-docs.css | 4 ++--
>  scan-adoc-refs        | 6 +++---
>  3 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/asciidoc-pmg.in b/asciidoc-pmg.in
> index 532ea7f..fefca5e 100644
> --- a/asciidoc-pmg.in
> +++ b/asciidoc-pmg.in
> @@ -79,7 +79,7 @@ sub pop_environment {
>      die "unable to pop env '$env'" if !defined($last_stack_entry);
>  
>      my ($last_env, $skip) = @$last_stack_entry;
> -    die "environment missmatch (${last_env} != $env)\n" if $last_env ne $env;
> +    die "environment mismatch (${last_env} != $env)\n" if $last_env ne $env;
>  
>      if (!scalar(@$env_stack)) {
>  	$env_skip = 0;
> @@ -213,7 +213,7 @@ sub prepare_adoc_file {
>  	chomp $line;
>  	if ($line =~ m/^if(n?)def::(\S+)\[(.*)\]\s*$/) {
>  	    my ($not, $env, $text) = ($1, $2, $3);
> -	    die "unsuported ifdef usage - implement me" if $text;
> +	    die "unsupported ifdef usage - implement me" if $text;
>  
>  	    my $skip = !exists($attributes->{$env}) ? 1 : 0;
>  	    $skip = ($skip ? 0 : 1 ) if $not;
> @@ -222,7 +222,7 @@ sub prepare_adoc_file {
>  	    next;
>  	} elsif ($line =~ m/^endif::(\S+)\[(.*)\]\s*$/) {
>  	    my ($env, $text) = ($1, $2);
> -	    die "unsuported ifdef usage - implement me" if $text;
> +	    die "unsupported ifdef usage - implement me" if $text;
>  	    pop_environment($env);
>  	    next;
>  	}
> diff --git a/asciidoc/pmg-docs.css b/asciidoc/pmg-docs.css
> index 45e2b11..8d1b8f8 100644
> --- a/asciidoc/pmg-docs.css
> +++ b/asciidoc/pmg-docs.css
> @@ -106,7 +106,7 @@ div.admonitionblock td.icon > img {
>          color: var(--pdt-text);
>      }
>  
> -    /* reduce the brigthness of images a bit and make it reversable
> +    /* reduce the brightness of images a bit and make it reversable
>       * through hovering over them.
>       */
>      .image > img {
> @@ -161,7 +161,7 @@ div.admonitionblock td.icon > img {
>          filter: invert(100%) hue-rotate(180deg) brightness(90%);
>      }
>  
> -    /* fixes the black text on unorderd lists */
> +    /* fixes the black text on unordered lists */
>      ul > li > * {
>          color: var(--pdt-text);
>      }
> diff --git a/scan-adoc-refs b/scan-adoc-refs
> index e7767dc..e80b02e 100755
> --- a/scan-adoc-refs
> +++ b/scan-adoc-refs
> @@ -70,7 +70,7 @@ sub pop_environment {
>      pop @$env_stack;
>      my $res = pop @$env_name_stack;
>  
> -    die "environment missmatch ($res != $env)\n" if $res ne $env;
> +    die "environment mismatch ($res != $env)\n" if $res ne $env;
>  }
>  
>  sub register_include {
> @@ -146,12 +146,12 @@ sub scan_adoc_file {
>      while (defined (my $line = <$fh>)) {
>  	if ($line =~ m/^if(n?)def::(\S+)\[(.*)\]\s*$/) {
>  	    my ($not, $env, $text) = ($1, $2, $3);
> -	    die "unsuported ifdef usage - implement me" if $text;
> +	    die "unsupported ifdef usage - implement me" if $text;
>  	    push_environment($env, $not);
>  	    next;
>  	} elsif ($line =~ m/^endif::(\S+)\[(.*)\]\s*$/) {
>  	    my ($env, $text) = ($1, $2);
> -	    die "unsuported ifdef usage - implement me" if $text;
> +	    die "unsupported ifdef usage - implement me" if $text;
>  	    pop_environment($env);
>  	    next;
>  	} elsif ($line =~ m/^include::(\S+)\[.*\]\s*$/) {



_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


      parent reply	other threads:[~2024-08-08 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07 10:49 [pmg-devel] " Maximiliano Sandoval
2024-08-07 10:49 ` [pmg-devel] [PATCH pmg-docs 2/3] fix typos in documentation Maximiliano Sandoval
2024-08-07 10:49 ` [pmg-devel] [PATCH pmg-docs 3/3] latex: fix typo in comment Maximiliano Sandoval
2024-08-07 12:05 ` [pmg-devel] [PATCH pmg-docs 1/3] fix typos in perl and css files Stoiko Ivanov
2024-08-07 12:08   ` Maximiliano Sandoval
2024-08-08 12:08 ` Stoiko Ivanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240808140840.14de0727@rosa.proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=m.sandoval@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal