-
Notifications
You must be signed in to change notification settings - Fork 88
[DOC] Omit include files from html #307
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
Conversation
|
Converting to draft; there's more to do here. |
|
What is fixed by this? Could you explain it in the PR description? We don't want to list
|
Explanation added to PR description. |
|
Could you rename |
Done. |
lib/rexml/document.rb
Outdated
| # and have a particular task in mind, | ||
| # you may want to see the | ||
| # {tasks pages}[../doc/rexml/tasks/tocs/master_toc_rdoc.html], | ||
| # {tasks pages}[../doc/rexml/tasks/rdoc/master_toc_rdoc.html], |
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.
Should we update this path and other similar paths?
| # {tasks pages}[../doc/rexml/tasks/rdoc/master_toc_rdoc.html], | |
| # {tasks pages}[../doc/rexml/tasks/rdoc/toc_rdoc.html], |
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.
Done.
|
Thanks. |

Five pages listed in the left pane at https://ruby.github.io/rexml/ are in fact intended only as include files, and not as independent pages; these files have links that work fine when the files are included (as I intended), but are broken when rendered as separate html (which was not what I intended).
These pages should not be included in the html. The pages are in directory
doc/:The master_toc is okay, and should be included in the html; other pages link to it.
This PR moves those files to a new directory,
includes/, which is omitted from the html; the remaining files stay in place, but their directory is renamed tordoc/.Also fixes links to tasks from Document and Element class pages.