doc: show version in html guides
PATCH 1/1 doc: show version in html guides
The version does not appear in the readthedocs theme. We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF.
--- doc/guides/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
doc/guides/conf.py +1 -2
@@ -35,8 +35,6 @@ from sphinx import __version__ as sphinx_version from sphinx.highlighting import PygmentsBridge from pygments.formatters.latex import LatexFormatter -project = 'Data Plane Development Kit' - if LooseVersion(sphinx_version) >= LooseVersion('1.3.1'): html_theme = "sphinx_rtd_theme" html_logo = '../logo/DPDK_logo_vertical_rev_small.png'
@@ -47,6 +45,7 @@ highlight_language = 'none' version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') release = version +project = 'Data Plane Development Kit ' + version master_doc = 'index'
Signature · 1 line
2.5.2
Quoted 10 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Thursday, December 17, 2015 10:27 AM
To: Mcnamara, John
Cc: [email protected]
Subject: [PATCH] doc: show version in html guidesThe version does not appear in the readthedocs theme.
We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF.
Hi,
I see the version number in generated docs:
http://i.imgur.com/GkvNz2U.png
However, I can see that it doesn't appear on the dpdk.org version.
I am using:
$ sphinx-build --version
Sphinx (sphinx-build) 1.3.1John
2015-12-18 10:27, Mcnamara, John:
Quoted 10 lines
From: Thomas Monjalon [mailto:[email protected]]
Quoted 3 lines
The version does not appear in the readthedocs theme.
We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF.Hi,
I see the version number in generated docs:
http://i.imgur.com/GkvNz2U.png
Interesting.
Quoted 6 lines
However, I can see that it doesn't appear on the dpdk.org version.
I am using:
$ sphinx-build --version Sphinx (sphinx-build) 1.3.1
Same version on dpdk.org.
There should be something else different...
Quoted 24 lines
-----Original Message-----
From: Thomas Monjalon [mailto:[email protected]]
Sent: Friday, December 18, 2015 10:46 AM
To: Mcnamara, John
Cc: [email protected]
Subject: Re: [PATCH] doc: show version in html guides2015-12-18 10:27, Mcnamara, John:
Quoted 10 lines
From: Thomas Monjalon [mailto:[email protected]]
Quoted 3 lines
The version does not appear in the readthedocs theme. We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF.
Hi,
I see the version number in generated docs:
http://i.imgur.com/GkvNz2U.pngInteresting.
Quoted 2 lines
However, I can see that it doesn't appear on the dpdk.org version.
Quoted 7 lines
Quoted 4 lines
I am using:
$ sphinx-build --version Sphinx (sphinx-build) 1.3.1Same version on dpdk.org.
There should be something else different...
It could be the version of the RTD theme:
$ python -c "import sphinx_rtd_theme; print sphinx_rtd_theme.__version__"
0.1.90.1.9 is required for the version number in the Navbar:
https://github.com/snide/sphinx_rtd_theme#v0-1-9
John.
2015-12-18 12:41, Mcnamara, John:
Quoted 29 lines
From: Thomas Monjalon [mailto:[email protected]]
Quoted 16 lines
2015-12-18 10:27, Mcnamara, John:
Quoted 10 lines
From: Thomas Monjalon [mailto:[email protected]]
Quoted 3 lines
The version does not appear in the readthedocs theme. We may try to customize the theme, or just update the project name as in this patch. The project name is not used in the PDF.
Hi,
I see the version number in generated docs:
http://i.imgur.com/GkvNz2U.pngInteresting.
Quoted 2 lines
However, I can see that it doesn't appear on the dpdk.org version.
Quoted 7 lines
Quoted 4 lines
I am using:
$ sphinx-build --version Sphinx (sphinx-build) 1.3.1Same version on dpdk.org.
There should be something else different...It could be the version of the RTD theme:
Quoted 6 lines
$ python -c "import sphinx_rtd_theme; print sphinx_rtd_theme.__version__" 0.1.90.1.9 is required for the version number in the Navbar:
https://github.com/snide/sphinx_rtd_theme#v0-1-9
0.1.8 here.
So this patch is rejected and the doc should be regenerated on dpdk.org.
Thanks