Skip to content

Conversation

@amstewart
Copy link
Collaborator

Summary

  1. Add a top-level project Makefile with basic targets like: all, clean, and lint.
  2. The lint target will run sphinx linkcheck on the docs sources.
  3. This patchset fixes a couple broken links.
  4. Rewrite the .github actions and workflows so that PRs are automatically built and linted.
  5. On each new push into main, the docs will be built and automatically pushed to the gh-pages ref.
  6. Add a requirements.txt file to coordinate python dependencies between build environments.
  7. Remove the unused make.bat file.

Testing

Process

This patchset is based on #87.

@amstewart amstewart requested a review from jpautler September 5, 2025 21:57
Copy link
Collaborator

@chaitu236 chaitu236 left a comment

Choose a reason for hiding this comment

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

image

Can you rebase your commits and drop the merge commit

@amstewart
Copy link
Collaborator Author

Patch V2

  • Rebased to main.

@amstewart amstewart requested a review from chaitu236 September 11, 2025 14:13
@amstewart
Copy link
Collaborator Author

PR check failure on patch v2 is due to the ni.com/docs site being down for maintenance and so failing linkcheck. So a genuine error that is not our fault. :)

Will rerun tomorrow. Or otherwise we could pull this PR as-is, since the remainder of the pipeline seems to work.

Alex Stewart added 6 commits December 2, 2025 11:35
We do not support building the sources on Windows, so remove the
unneeded batch file.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Sphinx documentation output can vary substantially between sphinx build
environments, if there is no way to coordinate python module versions
between build systems. Use a requirements.txt file to do that
coordination.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Add a top-level Makefile for convenience.

Update the README with new build instructions.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Add a Makefile target to run the Sphinx linkcheck 'builder', which
actually checks the validity of the external links in the documentation.

Fixup a couple broken links found in the documentation.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
The PR check should try to build the project and lint it. If either
fails, the PR shouldn't be accepted.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Use peaceiris' gh-pages action to create and publish the gh-pages,
because it can do so in an automated fashion (does not require final
approval from an admin.)

When using this action, it automatically adds a .nojekyll file, so
remove the unneeded source file.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Alex Stewart added 3 commits December 2, 2025 11:38
Resolves docutils compile warning.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Previous table file path pointed at an obsolete file. Corrected to new
file path.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
@amstewart amstewart merged commit 280feea into ni:main Dec 2, 2025
1 check passed
@amstewart amstewart deleted the dev/build-process branch December 2, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants