Skip to content
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

Feat : meilleure gestion des vocabulaires #18

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
2 changes: 1 addition & 1 deletion .github/workflows/google-sheet-to-rdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- name: "Génération de la liste des vocabulaires contrôlés au format markdown"
run : |
java -jar /tmp/saxon.jar /tmp/vocabulaires.rdf ./siteweb/.xslt/liste-vocabulaires.xsl > ./siteweb/vocabulary/index.md
java -jar /tmp/saxon.jar /tmp/vocabulaires.rdf ./siteweb/.xslt/liste-vocabulaires.xsl > ./siteweb/vocabulary/index-content.md

# - name: "Nettoyage de /tmp"
# run : |
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ RUN pandoc --standalone \
-A /build/footer.html \
/build/release-notes.md -o /build/release-notes.html


RUN pandoc /build/vocabulary/index-intro.md -o /build/vocabulary/intro.html
RUN pandoc --standalone \
--toc \
--shift-heading-level-by=-1 \
--template template.html \
-c /style.css \
-B /build/vocabulary/intro.html \
-A /build/footer.html \
/build/vocabulary/index.md -o /build/vocabulary/index.html
/build/vocabulary/index-content.md -o /build/vocabulary/index.html

# Génération de la documentation de l'ontologie
RUN mkdir -p ontologie
Expand Down
4 changes: 2 additions & 2 deletions siteweb/.xslt/liste-vocabulaires.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<xsl:output method="html" indent="no"/>
<xsl:strip-space elements="*"/>

<xsl:template match="/">
<xsl:text># Ontologie RDA-FR - Vocabulaires contrôlés&#10;&#10;</xsl:text>
<xsl:template match="/">
<xsl:text>&#10;&#10;</xsl:text>
<xsl:comment>Ce fichier est généré automatiquement. Il ne doit pas être édité manuellement.</xsl:comment>
<xsl:text>&#10;&#10;</xsl:text>
<xsl:call-template name="liste-vocab"/>
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions siteweb/vocabulary/index-intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ontologie RDA-FR - Vocabulaires contrôlés


54 changes: 0 additions & 54 deletions siteweb/vocabulary/index.md

This file was deleted.

Loading