All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
@ 2024-04-17 10:12 Petr Vorel
  2024-04-17 10:34 ` Cyril Hrubis
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2024-04-17 10:12 UTC (permalink / raw)
  To: ltp

Fixes: 638934e8b ("doc: Documentation usage and development")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi Andrea,

I suppose you mean "older", otherwise the sentence does not make sense
to me (i.e. which versions caused problems?)

Kind regards,
Petr

 doc/developers/documentation.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/developers/documentation.rst b/doc/developers/documentation.rst
index cfc8bf6f5..ba7b61a43 100644
--- a/doc/developers/documentation.rst
+++ b/doc/developers/documentation.rst
@@ -36,7 +36,7 @@ Once the procedure has been completed, documentation will be visible at
 .. warning::
 
     The current ``.readthedocs.yml`` workflow is using ``Python 3.6`` because
-    other Python versions were causing issues. No other version has been tested,
+    older Python versions were causing issues. No other version has been tested,
     but it should work anyway.
 
 Validating spelling
-- 
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
  2024-04-17 10:12 [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older Petr Vorel
@ 2024-04-17 10:34 ` Cyril Hrubis
  2024-04-17 12:19   ` Petr Vorel
  0 siblings, 1 reply; 6+ messages in thread
From: Cyril Hrubis @ 2024-04-17 10:34 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi!
> I suppose you mean "older", otherwise the sentence does not make sense
> to me (i.e. which versions caused problems?)

Can we fix this one in the same patch as well?

diff --git a/doc/developers/documentation.rst b/doc/developers/documentation.rst
index 30dacd384..b56d5b4c7 100644
--- a/doc/developers/documentation.rst
+++ b/doc/developers/documentation.rst
@@ -11,7 +11,7 @@ and it's built on top of `Sphinx <https://www.sphinx-doc.org/en/master/>`_.
 Building documentation
 ~~~~~~~~~~~~~~~~~~~~~~

-First of all, to build the documentation we must be sure that all dependences
+First of all, to build the documentation we must be sure that all dependencies
 have been installed (please check ``doc/requirements.txt`` file). Sometimes the
 Linux distros are providing them, but the best way is to use ``virtualenv``

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
  2024-04-17 10:34 ` Cyril Hrubis
@ 2024-04-17 12:19   ` Petr Vorel
  2024-04-17 12:22     ` Andrea Cervesato via ltp
  2024-04-17 13:37     ` Cyril Hrubis
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Vorel @ 2024-04-17 12:19 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

> Hi!
> > I suppose you mean "older", otherwise the sentence does not make sense
> > to me (i.e. which versions caused problems?)

> Can we fix this one in the same patch as well?

> diff --git a/doc/developers/documentation.rst b/doc/developers/documentation.rst
> index 30dacd384..b56d5b4c7 100644
> --- a/doc/developers/documentation.rst
> +++ b/doc/developers/documentation.rst
> @@ -11,7 +11,7 @@ and it's built on top of `Sphinx <https://www.sphinx-doc.org/en/master/>`_.
>  Building documentation
>  ~~~~~~~~~~~~~~~~~~~~~~

> -First of all, to build the documentation we must be sure that all dependences
> +First of all, to build the documentation we must be sure that all dependencies

Sure, just waiting on Andrea's ack.

BTW how does these spellchecker feature in sphinx works? Did you find it to run something
(tox -e spelling -r [1] or did you spot it manually?

I hoped that errors like this would be caught, e.g. we might want to have CI
check for it, right?

Kind regards,
Petr

[1] https://sphinxcontrib-spelling.readthedocs.io/en/latest/run.html

>  have been installed (please check ``doc/requirements.txt`` file). Sometimes the
>  Linux distros are providing them, but the best way is to use ``virtualenv``

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
  2024-04-17 12:19   ` Petr Vorel
@ 2024-04-17 12:22     ` Andrea Cervesato via ltp
  2024-04-17 13:37     ` Cyril Hrubis
  1 sibling, 0 replies; 6+ messages in thread
From: Andrea Cervesato via ltp @ 2024-04-17 12:22 UTC (permalink / raw)
  To: ltp

Hi!

On 4/17/24 14:19, Petr Vorel wrote:
>> Hi!
>>> I suppose you mean "older", otherwise the sentence does not make sense
>>> to me (i.e. which versions caused problems?)
>> Can we fix this one in the same patch as well?
>> diff --git a/doc/developers/documentation.rst b/doc/developers/documentation.rst
>> index 30dacd384..b56d5b4c7 100644
>> --- a/doc/developers/documentation.rst
>> +++ b/doc/developers/documentation.rst
>> @@ -11,7 +11,7 @@ and it's built on top of `Sphinx <https://www.sphinx-doc.org/en/master/>`_.
>>   Building documentation
>>   ~~~~~~~~~~~~~~~~~~~~~~
>> -First of all, to build the documentation we must be sure that all dependences
>> +First of all, to build the documentation we must be sure that all dependencies
> Sure, just waiting on Andrea's ack.
Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
>
> BTW how does these spellchecker feature in sphinx works? Did you find it to run something
> (tox -e spelling -r [1] or did you spot it manually?
aspell didn't catch it apparently..
>
> I hoped that errors like this would be caught, e.g. we might want to have CI
> check for it, right?
>
> Kind regards,
> Petr
>
> [1] https://sphinxcontrib-spelling.readthedocs.io/en/latest/run.html
>
>>   have been installed (please check ``doc/requirements.txt`` file). Sometimes the
>>   Linux distros are providing them, but the best way is to use ``virtualenv``

Andrea


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
  2024-04-17 12:19   ` Petr Vorel
  2024-04-17 12:22     ` Andrea Cervesato via ltp
@ 2024-04-17 13:37     ` Cyril Hrubis
  2024-04-17 18:32       ` Petr Vorel
  1 sibling, 1 reply; 6+ messages in thread
From: Cyril Hrubis @ 2024-04-17 13:37 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi!
> BTW how does these spellchecker feature in sphinx works? Did you find it to run something
> (tox -e spelling -r [1] or did you spot it manually?

You have to run make spelling as described in the documentation.

> I hoped that errors like this would be caught, e.g. we might want to have CI
> check for it, right?

The problem is that there are false possitives, so we can't simply plug
it into a CI as it is now.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older
  2024-04-17 13:37     ` Cyril Hrubis
@ 2024-04-17 18:32       ` Petr Vorel
  0 siblings, 0 replies; 6+ messages in thread
From: Petr Vorel @ 2024-04-17 18:32 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

> Hi!
> > BTW how does these spellchecker feature in sphinx works? Did you find it to run something
> > (tox -e spelling -r [1] or did you spot it manually?

> You have to run make spelling as described in the documentation.

> > I hoped that errors like this would be caught, e.g. we might want to have CI
> > check for it, right?

> The problem is that there are false possitives, so we can't simply plug
> it into a CI as it is now.

Sure, agree. It'd be good just time to time to run it.

github actions also have a warning message [1] (to check it time to time and fix or
whitelist), but looking at the spelling output it's quite noisy (tests also
venv, the only real thing I see is "Spell check: nr" => whitelist "nr").

Kind regards,
Petr

[1] https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-warning-message

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-17 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 10:12 [LTP] [PATCH 1/1] doc: documentation: Fix typo other => older Petr Vorel
2024-04-17 10:34 ` Cyril Hrubis
2024-04-17 12:19   ` Petr Vorel
2024-04-17 12:22     ` Andrea Cervesato via ltp
2024-04-17 13:37     ` Cyril Hrubis
2024-04-17 18:32       ` Petr Vorel

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.