Closed shnizzedy closed 4 years ago
Autodoc images
The autodoc generated images are off by one directory level after this change. As far as I can tell, only a few of those are working right now anyway, and they're all in the developer section.
This commit (included in #225) copies those images to the expected place for v1.6.2a docs.
Fixes
Fixes #223 by @shnizzedy
Description
docs/developer
anddocs/user
are built separately. After,docs
is built all at once.docs/
and (/developer
or/user
). The version is tagged with the GitHub release tag of C-PAC, plus a copy of the latest tag in latest and thedevelop
branch of C-PAC in nightly.latest
build. If no latest version of that page exists, the 404 displays.Technical details
nightly
in the branch master. A push to build-version will build to the tag in build_version.txt. These instructions are spelled out in CONTRIBUTING in this PR.master
. If this PR is merged into source, the current gh-pages branch should be merged onto master first.Tests
A fork is running at https://shnizzedy.github.io/fcp-indi.github.com/docs with the only differences being the hardcoded urls are set to
shnizzedy.github.io/fcp-indi.github.com
instead offcp-indi.github.io
Screenshots
Additional details
Autodoc images
The autodoc generated images are off by one directory level after this change. As far as I can tell, only a few of those are working right now anyway, and they're all in the developer section.
Examples
Reviewing this PR
@sgiavasis, @HechengJin0, @SucyLi, @anibalsolon, please take a moment to check a few pages at https://shnizzedy.github.io/fcp-indi.github.com/docs. The biggest opportunity for an issue to arise from these changes that I can see is missing updating some relative paths. I think I got them all (besides the ones autogenerated from docstrings as mentioned above), but more eyes would be great.
Future deployments
With these changes, we can pretty easily set up the CI for C-PAC to automatically build version documents on each new release and nightly documents on each merge into
develop
.Checklist
Update index.md
).source
branch of the repository.Developer Certificate of Origin
Developer Certificate of Origin
``` Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ```