Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: echo "m_date=$(/bin/date -u '+%Y%m%d%H%M%S')" >> $GITHUB_ENV

- name: Get cache for ccache tool
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.CCACHE_DIR}}
key: doc-${{ env.m_date }}-${{ github.run_number }}
Expand All @@ -55,17 +55,21 @@ jobs:
cache_dir: ${{ env.CCACHE_DIR }}
with_userdoc: true
with_devdoc: true
with_aliendoc: true

- name: Move userdoc and devdoc
- name: Move userdoc devdoc and aliendoc
shell: bash
run: |
rm -rf ${{ env.DOC_DIR }}/arcane
rm -rf ${{ env.DOC_DIR }}/framework
mkdir -p ${{ env.DOC_DIR }}/arcane
mkdir -p ${{ env.DOC_DIR }}/framework
mv ${{ env.BUILD_DIR }}/share/userdoc ${{ env.DOC_DIR }}/arcane
mv ${{ env.BUILD_DIR }}/share/devdoc ${{ env.DOC_DIR }}/arcane
mv ${{ env.BUILD_DIR }}/share/aliendoc ${{ env.DOC_DIR }}/framework

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3.9.2
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: main
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

### [Cliquer ici pour accéder à la documentation Arcane pour les utilisateurs.](https://arcaneframework.github.io/arcane/userdoc/html/index.html)
### [Cliquer ici pour accéder à la documentation Arcane pour les développeurs.](https://arcaneframework.github.io/arcane/devdoc/html/index.html)
### [Cliquer ici pour accéder à la documentation Alien.](https://arcaneframework.github.io/framework/aliendoc/html/index.html)

Ce dépôt contient la documentation Arcane.

Pour cloner la documentation, prévoir de l'espace disque et faire :

```{.sh}
git clone https://github.com/arcaneframework/arcaneframework.github.io
```
```
4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ <h1>Index de toutes les documentations</h1>
<h2>Framework Arcane</h2>
<p>Accès à la documentation pour les utilisateurs d'Arcane : <a href="arcane/userdoc/html/index.html">Documentation utilisateur</a></p>
<p>Accès à la documentation pour les développeurs d'Arcane : <a href="arcane/devdoc/html/index.html">Documentation développeur</a></p>

<h2>Alien</h2>
<p>Accès à la documentation Alien : <a href="alien/index.html">Documentation Alien</a></p>
<p>Accès à la documentation Alien : <a href="framework/aliendoc/html/index.html">Documentation Alien</a></p>

</body>
</html>