-
Notifications
You must be signed in to change notification settings - Fork 477
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
Including doc pages from other packages #319
Comments
Only the Markdown files under In order to support this, we should probably figure out a nice way of referring to pages outside But I am not sure if we should support this out-of-the-box at all. Perhaps we could make Documenter's guts a bit more accessible for power users? I was at one point doing something like this -- constructing the |
I'm not too sure whether that's actually possible in any kind of general way since anything outside of the current package doesn't really have a relative path. I think it's probably simplest to just use full URLs to wherever the page happens to be hosted, rather than require one package's docs to first require building another package's docs.
We can definitely do something along those line, though I need to get #184 finished, which will make things much more straightforward I'm sure. |
With regards to relative path, I'm not sure why But certainly I can embed links to other pages. I'll start there and see how it feels. |
I realized I was needlessly vague above. To be concrete, here's what I was trying: makedocs(format = :html,
sitename = "JuliaImages",
pages = ["Home"=>"index.md", "install.md", "arrays_colors.md", Pkg.dir("ImageCore", "docs", "src", "views.md"), "troubleshooting.md"]) |
If we just copy any files over that are not found in Best bet is to either just use full URLs to the address where the page is hosted, or to build a single "mega-doc" that contains all the docs and docstrings for all |
This is another "org-level" question (similar to #301): in the org-level docs, I'd like to include a page from one of the org's packages. I tried adding
Pkg.dir(...)
topages = [...]
inmakedocs
, and gotbut
Moreover this page links to
assets
(images) for in-line display. Thoughts on the recommended way to proceed? I could copy the source files, but that seems a little yucky.The text was updated successfully, but these errors were encountered: