-
Notifications
You must be signed in to change notification settings - Fork 674
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
Sphinx apidocs #10928
Sphinx apidocs #10928
Conversation
Hi @sarnold. Thanks for your PR. I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thanks for this PR! I would be more comfortable if we split the docs changes from the tox changes.
I also left some comments on minor issues I saw.
README_dev_workflows.md
Outdated
|
||
Note the primary tox commands given above are order-dependent, eg: | ||
|
||
$ git clone https://github.com/VCTLabs/scap-security-guide |
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.
$ git clone https://github.com/VCTLabs/scap-security-guide | |
$ git clone https://github.com/ComplianceAsCode/content |
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.
Oops! Fixed.
.github/workflows/gh-pages.yaml
Outdated
@@ -53,7 +54,7 @@ jobs: | |||
git-config-email: openscap-ci@gmail.com | |||
- name: Upload artifact if the event is pull request | |||
uses: actions/upload-artifact@v3 | |||
if: ${{ github.event_name == 'pull_request' }} | |||
#if: ${{ github.event_name == 'pull_request' }} |
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.
If plan on removing please just remove the line vs comment it.
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.
Actually I just wanted to check artifacts in my fork, so that is now restored.
README_dev_workflows.md
Outdated
@@ -0,0 +1,44 @@ | |||
# Local SCAP workflows w/o distro packages |
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.
I would rather have this under docs/manual/developer
.
tox.ini
Outdated
-r requirements.txt | ||
|
||
commands = | ||
#stubgen -m munch --export-less -o {toxinidir} |
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.
If this command is not used please remove it.
Thank you for the pull request, please don't be shy to share with us how you interact with the project, and what are the reasons behind it, because it looks like that you have built a layer of additional tooling around it in your environment. |
f2a78e5
to
44825bd
Compare
Thanks for the feedback; this PR is now limited to just the Sphinx docs with a very minimal tox file and updated (docs) requirements. The actual sphinx link check command is currently commented out to make it easier to see the docs build messages in a console. |
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.
Thanks for making those changes, I just have a couple of comments.
44825bd
to
7fa9fbe
Compare
* this adds highlighted source/links to module references in sphinx docs, plus a small tox file for sphinx builds and static linting Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
7fa9fbe
to
03948b7
Compare
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.
Thanks working on this PR. I do like the API docs. I have a few items of feedback:
- Can you please add docs for installing tox in https://github.com/ComplianceAsCode/content/blob/master/docs/manual/developer/02_building_complianceascode.md?
- I think the linkchecker might be useful it seems our existing checker isn't working on docs.
Okay, the "best" place I could find looks like Sphinx packages unless you have another place in mind
The sphinx link checker is running in |
* changes are in 02_building_complianceascode.md Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
Code Climate has analyzed commit e275d0d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 56.8% (3.0% change). View more on Code Climate. |
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.
Thank for your work on this!
Description:
Rationale:
Review Hints: