-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved generated module RSTs to their own directory. #33966
Moved generated module RSTs to their own directory. #33966
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need some more work, as links from the main docs to any modules are broken, e.g.
/home/johnb/git/ansible-inc/tmp/dharmabumstead-module-build-move-1/docs/docsite/rst/porting_guide_2.4.rst:85: WARNING: undefined label: win_msi (if the link has no caption the label must precede a section header)
/home/johnb/git/ansible-inc/tmp/dharmabumstead-module-build-move-1/docs/docsite/rst/porting_guide_2.4.rst:85: WARNING: undefined label: win_package (if the link has no caption the label must precede a section header)
/home/johnb/git/ansible-inc/tmp/dharmabumstead-module-build-move-1/docs/docsite/rst/porting_guide_2.4.rst:90: WARNING: undefined label: win_get_url (if the link has no caption the label must precede a section header)
/home/johnb/git/ansible-inc/tmp/dharmabumstead-module-build-move-1/docs/docsite/rst/porting_guide_2.4.rst:91: WARNING: undefined label: win_unzip (if the link has no caption the label must precede a section header)
Also make webdocs
doesn't appear to generate html for any modules, nor list_of_network_$CATEGORY.html
pages.
Should’ve marked it WIP, since I knew I’d have to make another sweep for broken links. I will check again, but when I tested this the module HTML and module list pages seemed to generate just fine doing local builds on my system. |
@gundalow Let's chat about this on slack Monday. I am getting the 'undefined label' warning on my local build as well, but the links in the local doc build are working. |
|
|
This will fix the Will need to carefully review |
… module RST output directory to 'module_docs'.
…ory to makefile clean.
do you want them all 'flat' in module_docs/ or do you want them by category/subcat also? |
@bcoca: That'd be OK with me at some point, but for simplicity's sake I'd prefer to leave them flat in the module_docs directory for for now. I just want them out of the root RST directory so I can proceed with the rest of the reorg. |
Most of these warnings are caused by this PR
Is this really worth all the effort, what's the problem we are trying to solve? If it's files in the way, doesn't |
Yes, it's worth the effort; that's why we're doing this. Yes, there are some links that will need fixing. Unless anyone has an absolute showstopper/build break, I plan on merging this by tomorrow. |
Fine as long as the old module URLs continue to work, so the rewrite rules will need adding as soon as this is live. shipit |
SUMMARY
Moves generated module RSTs to their own subdirectory and updates index.html to point to the modules_by_category file.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
ADDITIONAL INFORMATION