scripts/run-docs-build: stop using the "transition" branch
PATCH 1/1 scripts/run-docs-build: stop using the "transition" branch
No longer necessary now that the transition from DocBook to Sphinx is over
--- scripts/run-docs-build | 6 ------ 1 file changed, 6 deletions(-)
scripts/run-docs-build +0 -6
@@ -58,12 +58,6 @@ make clean make publish cp -r ./_build/final/* $outputdir -cd $ypdocs -git checkout transition -make clean -make publish -cp -r ./_build/final/* $outputdir/ - cd $ypdocs git checkout master-next make clean
Signature · 1 line
2.25.1
Quoted 3 lines · Michael Opdenacker
No longer necessary now that the transition from DocBook to Sphinx is over
Signed-off-by Michael Opdenacker <[email protected]>
Thanks,
Quentin
Quoted 8 lines · Quentin Schulz
Quoted 1 line · Michael Opdenacker
No longer necessary now that the transition from DocBook to Sphinx is
over
Quoted 2 lines
Signed-off-by Michael Opdenacker <[email protected]>Reviewed-by Quentin Schulz <[email protected]>
I don't understand. With this change, we no longer build the pages we reference here:
https://docs.yoctoproject.org/releases.html#outdated-release-manuals
Or am I missing here?
Quoted 15 lines
Thanks,
Quentin-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2215):
https://lists.yoctoproject.org/g/docs/message/2215
Mute This Topic: https://lists.yoctoproject.org/mt/87428499/1279857
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Nicolas,
Quoted 9 lines · Nicolas Dechesne
Quoted 6 lines · Quentin Schulz
Quoted 1 line · Michael Opdenacker
No longer necessary now that the transition from DocBook to Sphinx is
over
Quoted 2 lines
Signed-off-by Michael Opdenacker <[email protected]>
Quoted 9 lines
Quoted 2 lines
Reviewed-by Quentin Schulz <[email protected]>I don't understand. With this change, we no longer build the pages we reference here:
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_releases.html-23outdated-2Drelease-2Dmanuals&d=DwIBaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=nyCl21erajBNcx6SkCKI_BEntNgbh6114vcdWp_vB5yDzorVFjmzdqp0WXIIpQyK&s=rw5wG0nk_9KQ8RLvE1-sbSicy4NslWaeMwoyTSUuIyY&e=Or am I missing here?
Indeed. But this should be fixed, because we should handle this the same way documentation/releases.html is, with a common one across all releases. With the current implementation, only master has a list of all outdated releases. e.g.
https://docs.yoctoproject.org/3.3/releases.html#outdated-release-manuals
does not exist, but
https://docs.yoctoproject.org/releases.html#outdated-release-manuals
does (and weirdly enough 3.4 too).
I assume we want this in all branches. Therefore I think we should move documentation/transition from that branch to master and copy the whole directory for each non-master branch (with the git checkout master trick from an earlier patch from Michael). I think this makes more sense than keeping a transition branch? Especially since I assume we want to move every 6 months one release from "Supported release manuals" to "Outdated releae manuals" ?
Cheers,
Quentin
Quoted 1 line
Quoted 1 line
Quoted 23 lines · Quentin Schulz
Hi Nicolas,
Quoted 7 lines · Nicolas Dechesne
Quoted 4 lines · Quentin Schulz
Quoted 1 line · Michael Opdenacker
No longer necessary now that the transition from DocBook to Sphinx is
over
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Michael Opdenacker <[email protected]>Reviewed-by Quentin Schulz <[email protected]>I don't understand. With this change, we no longer build the pages we reference here:
Quoted 3 lines
Or am I missing here?
Quoted 9 lines
Indeed. But this should be fixed, because we should handle this the same way documentation/releases.html is, with a common one across all releases. With the current implementation, only master has a list of all outdated releases. e.g.
https://docs.yoctoproject.org/3.3/releases.html#outdated-release-manuals
does not exist, but
https://docs.yoctoproject.org/releases.html#outdated-release-manuals
does (and weirdly enough 3.4 too).
Yes, this part is indeed poorly implemented. But I don't think we can remove the transition branch until we fix it, so I don't think we can take this patch now.
perhaps we should maintain the overall documentation (for all versions) in the same branch.. all these branches are making everything much complicated.. Or perhaps we should split the documentation 'content' and the documentation config and scripts. I am wondering how other projects are doing it to support such complex doc setup (multiple versions to support and to publish)!
Quoted 9 lines
I assume we want this in all branches. Therefore I think we should move documentation/transition from that branch to master and copy the whole directory for each non-master branch (with the git checkout master trick from an earlier patch from Michael). I think this makes more sense than keeping a transition branch? Especially since I assume we want to move every 6 months one release from "Supported release manuals" to "Outdated releae manuals" ?
I think we had the 'transition' pages in master initially, and we moved that to its own branch. I believe it's something we discussed with Richard.. but i forgot the details.
Quoted 5 lines
Cheers,
QuentinQuoted 1 line
Quoted 1 line
Quoted 36 lines · Nicolas Dechesne
Quoted 23 lines · Quentin Schulz
Hi Nicolas,
Quoted 7 lines · Nicolas Dechesne
Quoted 4 lines · Quentin Schulz
Quoted 1 line · Michael Opdenacker
No longer necessary now that the transition from DocBook to Sphinx is
over
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Michael Opdenacker <[email protected]>Reviewed-by Quentin Schulz <[email protected]>I don't understand. With this change, we no longer build the pages we reference here:
Quoted 3 lines
Or am I missing here?
Quoted 9 lines
Indeed. But this should be fixed, because we should handle this the same way documentation/releases.html is, with a common one across all releases. With the current implementation, only master has a list of all outdated releases. e.g.
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_3.3_releases.html-23outdated-2Drelease-2Dmanuals&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=0ATdi4CSdy8VvhAKg6W6Qe5J7HEmGOLkDTVb13pe2bQyCiXzZxZGI_ePuUigui73&s=sW9qt9Z46xCwvoaxsU7RvUYqfKmOlSN8T_vDv0Yc_qE&e=
does not exist, but
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_releases.html-23outdated-2Drelease-2Dmanuals&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=0ATdi4CSdy8VvhAKg6W6Qe5J7HEmGOLkDTVb13pe2bQyCiXzZxZGI_ePuUigui73&s=vI9nhu-xEodig5uSD7RDYKswiZHG_8PDgnd2No0oXMA&e=
does (and weirdly enough 3.4 too).
Quoted 4 lines
Yes, this part is indeed poorly implemented. But I don't think we can remove the transition branch until we fix it, so I don't think we can take this patch now.
Agreed, I poorly reviewed it. Thanks for stoping us before the disaster :)
Quoted 7 lines
perhaps we should maintain the overall documentation (for all versions) in the same branch.. all these branches are making everything much complicated.. Or perhaps we should split the documentation 'content' and the documentation config and scripts. I am wondering how other projects are doing it to support such complex doc setup (multiple versions to support and to publish)!
I think all our issues always come down to this weird and inefficient organization we have for docs and common files between doc releases. We'll need to settle on something one day because I don't think what we're doing today is working :/
Cheers,
Quentin
Quentin, Nico,
Quoted 5 lines · Quentin Schulz
I think all our issues always come down to this weird and inefficient organization we have for docs and common files between doc releases. We'll need to settle on something one day because I don't think what we're doing today is working :/
Thanks for your reviews. Good to know that the "transition" branch is still in use in spite of what I wrongly believed.
It indeed, it's a good idea to see what other projects are doing. Maybe what we are doing is unnecessarily complicated.
Look at Python docs (https://docs.python.org/) for example. They have a switcher as we do, and also a left bar the latest versions and a separate page for all versions. However, such versions are only shown on the top page. When you enter one of the documents though for a given version, the left bar is used for navigation between sections instead, and you no longer have references to other versions.
Let's keep thinking about this, to find an easier to manage solution. Thanks again
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 15 lines · Michael Opdenacker
Quentin, Nico,
Quoted 5 lines · Quentin Schulz
I think all our issues always come down to this weird and inefficient organization we have for docs and common files between doc releases. We'll need to settle on something one day because I don't think what we're doing today is working :/
Thanks for your reviews. Good to know that the "transition" branch is still in use in spite of what I wrongly believed.
It indeed, it's a good idea to see what other projects are doing. Maybe what we are doing is unnecessarily complicated.
Quoted 7 lines
Look at Python docs (https://docs.python.org/) for example. They have a switcher as we do, and also a left bar the latest versions and a separate page for all versions. However, such versions are only shown on the top page. When you enter one of the documents though for a given version, the left bar is used for navigation between sections instead, and you no longer have references to other versions.
docs.pythong.org is where we stole the idea of the switcher ;-) Would anyone be able to figure out if their 'publishing' script is available anywhere? if we could mimic that somehow that might be good.
Quoted 11 lines
Let's keep thinking about this, to find an easier to manage solution. Thanks again
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 28 lines · Nicolas Dechesne
Quoted 15 lines · Michael Opdenacker
Quentin, Nico,
Quoted 5 lines · Quentin Schulz
I think all our issues always come down to this weird and inefficient organization we have for docs and common files between doc releases. We'll need to settle on something one day because I don't think what we're doing today is working :/
Thanks for your reviews. Good to know that the "transition" branch is still in use in spite of what I wrongly believed.
It indeed, it's a good idea to see what other projects are doing. Maybe what we are doing is unnecessarily complicated.Quoted 7 lines
Look at Python docs (https://docs.python.org/) for example. They have a switcher as we do, and also a left bar the latest versions and a separate page for all versions. However, such versions are only shown on the top page. When you enter one of the documents though for a given version, the left bar is used for navigation between sections instead, and you no longer have references to other versions.
Quoted 4 lines
docs.pythong.org is where we stole the idea of the switcher ;-) Would anyone be able to figure out if their 'publishing' script is available anywhere? if we could mimic that somehow that might be good.
Maybe?
https://github.com/python/docsbuild-scripts/
Found on
https://pythondev.readthedocs.io/infra.html
Quoted 24 lines
Quoted 13 lines
Let's keep thinking about this, to find an easier to manage solution. Thanks again
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2237):
https://lists.yoctoproject.org/g/docs/message/2237
Mute This Topic: https://lists.yoctoproject.org/mt/87428499/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-