Skip to contentSkip to conversation

doc: documentation: Fix typo other => older

PATCH In review Petr Vorel 3 participants 6 messages Apr 17, 2024

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 doc: documentation: Fix typo other => older

Fixes 638934e8b ("doc: Documentation usage and development")

---
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(-)
doc/developers/documentation.rst +1 -1
index cfc8bf6f5..ba7b61a43 100644
@@ -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
Signature · 5 lines
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi!

Quoted 2 lines

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?

doc/developers/documentation.rst +1 -1
index 30dacd384..b56d5b4c7 100644
@@ -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``
 
Signature · 5 lines
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw
Quoted 11 lines

Hi!

Quoted 2 lines

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?

doc/developers/documentation.rst +0 -0
index 30dacd384..b56d5b4c7 100644

doc/developers/documentation.rst and it's built on top of `Sphinx <https://www.sphinx-doc.org/en/master/>`_. · line 14

Quoted 5 lines
doc/developers/documentation.rst +1 -1
@@ -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

Quoted 2 lines
doc/developers/documentation.rst +0 -0
 have been installed (please check ``doc/requirements.txt`` file). Sometimes the
 Linux distros are providing them, but the best way is to use ``virtualenv``
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Acked-by Andrea Cervesato
#3 lore raw

Hi!

Quoted 14 lines · Petr Vorel

doc/developers/documentation.rst and it's built on top of `Sphinx <https://www.sphinx-doc.org/en/master/>`_. · line 13

Quoted 13 lines

Hi!

Quoted 2 lines

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?

doc/developers/documentation.rst +1 -1
index 30dacd384..b56d5b4c7 100644
@@ -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.

Quoted 3 lines

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..

Quoted 11 lines

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

Quoted 2 lines
doc/developers/documentation.rst +0 -0
  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

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#4 lore raw
In reply to Petr Vorel

Hi!

Quoted 2 lines

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.

Quoted 2 lines

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.

Signature · 5 lines
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#5 lore raw
Quoted 11 lines

Hi!

Quoted 2 lines

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.

Quoted 2 lines

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

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp