Skip to content

Conversation

@BurdetteLamar
Copy link
Member

@BurdetteLamar BurdetteLamar commented Dec 8, 2025

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 to rdoc/.

Also fixes links to tasks from Document and Element class pages.

@BurdetteLamar BurdetteLamar requested review from kou and naitoh December 8, 2025 22:17
@BurdetteLamar BurdetteLamar marked this pull request as draft December 8, 2025 22:51
@BurdetteLamar
Copy link
Member Author

Converting to draft; there's more to do here.

@BurdetteLamar BurdetteLamar marked this pull request as ready for review December 8, 2025 23:11
@BurdetteLamar
Copy link
Member Author

@kou, @naitoh: can we get this one merged? I have some follow-on work that needs it.

@kou
Copy link
Member

kou commented Dec 17, 2025

What is fixed by this? Could you explain it in the PR description?

We don't want to list *_toc in "Pages" -> "doc" in the sidebar in https://ruby.github.io/rexml/ ?

image

@BurdetteLamar
Copy link
Member Author

What is fixed by this? Could you explain it in the PR description?

Explanation added to PR description.

@kou
Copy link
Member

kou commented Dec 18, 2025

Could you rename master_toc.rdoc to toc.rdoc? We don't need master_ prefix here, right?

@BurdetteLamar
Copy link
Member Author

Could you rename master_toc.rdoc to toc.rdoc? We don't need master_ prefix here, right?

Done.

# 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],
Copy link
Member

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?

Suggested change
# {tasks pages}[../doc/rexml/tasks/rdoc/master_toc_rdoc.html],
# {tasks pages}[../doc/rexml/tasks/rdoc/toc_rdoc.html],

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@kou kou merged commit 5fd7d27 into ruby:master Dec 19, 2025
65 of 67 checks passed
@kou
Copy link
Member

kou commented Dec 19, 2025

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants