-
Notifications
You must be signed in to change notification settings - Fork 27
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
Build from top-level project #52
Comments
I'm not sure if this is an issue or not. I am building this repo with The paths are these:
1 contains 1 correctly renders the content in 3, which is suprising. It shows that the relative root of the literalinclude is that of 1, and not 2 where the statement exists. The problem here is that I can only include that content from a specific directory. To prove this to myself, I also include 2 from f5-ci-docs/docs/index.rst. That doesn't render correctly. However, |
The docs say that the path should be relative to the file doing the importing, but this doesn't appear to be the case. http://www.sphinx-doc.org/en/stable/markup/code.html#includes |
added to lightweight-proxy; see project Makefile. |
rST epilog needs to be controlled from f5-ci-docs to ensure consistency and easy updating across all docs. |
Problem: Because all of the documentation lives in many different project repos, all content is pushed here automatically from the source. We need to be able to build the docs from the top-down (i.e., from this repo) without anything breaking. Also, the content from the mesos/marathon beta release needs to be refactored to meet the current content strategy. Analysis: I set up the docs/includes directory to receive content from the individual projects by creating the necessary, and correctly-named, directories (f5-csc_m, f5-csc_k, f5-lwp, f5-lwpc). I also removed all of the content that was from the beta release (after copying it into the correct project repo to ensure no content was inadvertently lost). I removed all previous project dirs from the docs/ directory. The 'html_static_path' and rst_epilog in docs/conf.py have been updated. Unit/Robot tests: n/a - not yet configured remove doc artifacts from beta release; remove docs/f5-lwp (has been relocated to docs/includes
Problem: Because all of the documentation lives in many different project repos, all content is pushed here automatically from the source. We need to be able to build the docs from the top-down (i.e., from this repo) without anything breaking. Also, the content from the mesos/marathon beta release needs to be refactored to meet the current content strategy. Analysis: I set up the docs/includes directory to receive content from the individual projects by creating the necessary, and correctly-named, directories (f5-csc_m, f5-csc_k, f5-lwp, f5-lwpc). I also removed all of the content that was from the beta release (after copying it into the correct project repo to ensure no content was inadvertently lost). I removed all previous project dirs from the docs/ directory. The 'html_static_path' and rst_epilog in docs/conf.py have been updated. Unit/Robot tests: n/a - not yet configured remove doc artifacts from beta release; remove docs/f5-lwp (has been relocated to docs/includes
Description
@bmarshall13 has a makefile that lets him build from the top-level project (this one) when writing docs for a subproject (lightweight-proxy).
We need to leverage this to identify and correct issues that would not occur when building docs locally from a subproject (e.g., not finding the _static directory or knowing where to find included files).
The text was updated successfully, but these errors were encountered: