Skip to content

Commit 7ca5ba5

Browse files
authored
Merge pull request #178 from bakpaul/25_04_add_automatic_generation_of_plugin_lists
Add scripts for auto generation
2 parents 8256712 + 21881a9 commit 7ca5ba5

24 files changed

Lines changed: 360 additions & 1 deletion

.github/workflows/doc.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333

34-
- name: Setup SOFA and environment
34+
- name: Install SOFA binaries and setting up environment
3535
id: sofa
3636
uses: sofa-framework/sofa-setup-action@v5
3737
with:
@@ -51,6 +51,14 @@ jobs:
5151
path: 'merged_doc'
5252
ref: 'merged_doc'
5353

54+
- name: Clone sofa source code from GitHub
55+
uses: actions/checkout@v4
56+
with:
57+
repository: 'sofa-framework/sofa'
58+
ref: 'master'
59+
path: sofa_src
60+
61+
5462
- name: Generate doc
5563
run: |
5664
echo $SOFA_ROOT
@@ -63,6 +71,10 @@ jobs:
6371
6472
python ${{ github.workspace }}/SofaDocGenerator/script/title_metadata.py ${{ github.workspace }}/SofaDocGenerator/doc
6573
python ${{ github.workspace }}/SofaDocGenerator/script/generate_nav.py ${{ github.workspace }}/SofaDocGenerator/mkdocs/mkdocs.yml ${{ github.workspace }}/SofaDocGenerator/doc
74+
75+
# Export plugin lists into the merged doc
76+
python ${{ github.workspace }}/SofaDocGenerator/script/PluginLists/exportInTreePlugins.py ${{ github.workspace }}/sofa_src >> ${{ github.workspace }}/SofaDocGenerator/doc/10_Getting_Started/20_Build/50_Activate_Plugins.md
77+
python ${{ github.workspace }}/SofaDocGenerator/script/PluginLists/exportSupportedPlugins.py ${{ github.workspace }}/sofa_src >> ${{ github.workspace }}/SofaDocGenerator/doc/35_Plugins/45_Suported_Plugins_List.md
6678
6779
- name: Save merged doc
6880
uses: actions/upload-artifact@v4

mkdocs/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ markdown_extensions:
6262
alternate_style: true
6363
- pymdownx.arithmatex:
6464
generic: true
65+
- pymdownx.blocks
6566

6667
extra_javascript:
6768
- javascripts/config.js
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin that allow the simulation of rigid kinematic chains.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin implementing a 1-dimensional Finite Element Method (FEM) based on the Kirchhoff rod theory and allows to simulate any 1D flexible structure.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugins offering SOFA bindings to the [CGAL library](https://www.cgal.org/) for meshing purposes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin containing a collection of linear solver components that are built on top of the [CSparse library](https://people.math.sc.edu/Burkardt/c_src/csparse/csparse.html).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin enabling the use of the [Touch haptic device from 3D Systems](https://www.3dsystems.com/haptics-devices/touch).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin containing C++ components with python utilities allowing to perform model reduction and use these reduced model easily in a SOFA scene.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Plugin implementing CPU-parallelized version of some SOFA components.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A template and a good starting point to create a new plugin from scratch.

0 commit comments

Comments
 (0)