-
Notifications
You must be signed in to change notification settings - Fork 52
[doc] Rebuild the sphinx documentation for SofaPython3 #352
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
Closed
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
905e5dc
Remove the automock of Sofa
damienmarchal 225a4c6
WIPPP
damienmarchal 582ec1a
WIP
damienmarchal d21a12f
WIP2
damienmarchal bd12e8e
Remove sphinx-stubs as don't need them anymore.
damienmarchal 0350f34
FIX Documentation
damienmarchal 53aa155
W
damienmarchal 3271198
WIP
damienmarchal 5ff0262
WIP
damienmarchal 2f25ac7
W
damienmarchal 8b0a564
WIP
damienmarchal 3f78144
W
damienmarchal 5b38e02
W
damienmarchal 0605073
W
damienmarchal 34771db
W
damienmarchal 43a29ae
W
damienmarchal 8b6eb9d
W
damienmarchal 2660fe1
D
damienmarchal 75dae83
review and clean of documentation
hugtalbot ba0fbbc
Update requirements for automatization
hugtalbot 194733c
Add action to generate doc on new release
hugtalbot 0d58bdd
Up
damienmarchal d69e16f
Clean code, format and add full documentation
hugtalbot ebd0624
Merge branch 'master' into xp-readthedocs
hugtalbot 36af3c5
Add as a trigger of action the edit of a release
hugtalbot 0e28dc3
Merge branch 'master' into xp-readthedocs
hugtalbot a9ac53b
FIX
damienmarchal ca2ce2e
Merge remote-tracking branch 'origin/xp-readthedocs' into xp-readthedocs
damienmarchal da8fb59
Various documentation fixes.
damienmarchal 4319f5c
Refactor the documentation organization & sections & subsection so th…
damienmarchal cc41156
Last improvements before upload
hugtalbot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: Build, zip and upload documentation for release | ||
|
|
||
| on: | ||
| release: | ||
| types: | ||
| - created | ||
| - edited | ||
| workflow_dispatch: # This allows manual triggering | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v2 | ||
| with: | ||
| python-version: 3.8 # Replace with your desired Python version | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| cd docs/sphinx/ | ||
| pip install -r source/requirements.txt # Replace with your project's requirements file | ||
|
|
||
| - name: Build Sphinx documentation | ||
| run: | | ||
| mkdir build/ | ||
| sphinx-build -b html -a -E source/ build/ # Replace with your documentation source and build directories | ||
|
|
||
| - name: Zip Documentation | ||
| run: | | ||
| # Create a zip file of the documentation | ||
| cd build/ | ||
| zip -r SofaPython3_${{ steps.branch_name.outputs.branch_name }}_docs.zip . | ||
|
|
||
| - name: Upload to GitHub Release | ||
| uses: softprops/action-gh-release@v1 | ||
| with: | ||
| files: | | ||
| SofaPython3_${{ steps.branch_name.outputs.branch_name }}_docs.zip | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,8 @@ | ||
| """ | ||
| Data types | ||
| ----------------------- | ||
| ---------- | ||
|
|
||
| .. autosummary:: | ||
| Sofa.Types.RGBAColor | ||
| Sofa.Types.Vec3 | ||
| """ | ||
|
|
||
| from .Vec3 import * | ||
| from .RGBAColor import * | ||
| from .RGBAColor import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is a revert of #357
I think this branch must be rebased on the current master