chore: use sectlinks instead of sectanchors to prevent accessibility … #3
This file contains 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
name: Build adocs and publish v1 to production | |
on: | |
push: | |
branches: | |
- v1 | |
paths: | |
- docs/** | |
workflow_dispatch: | |
jobs: | |
adoc_build: | |
runs-on: ubuntu-latest | |
name: asciidoctor build | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: v1 | |
- name: Build html | |
id: adocbuild | |
uses: tonynv/asciidoctor-action@master | |
with: | |
program: "asciidoctor -D docs -o index.html -a lang=nb docs/main.adoc" | |
- name: Build pdf | |
id: adocbuild_pdf | |
uses: tonynv/asciidoctor-action@master | |
with: | |
program: "asciidoctor-pdf -D docs -o files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf -a lang=nb docs/main.adoc" | |
continue-on-error: true | |
- name: Upload rdf to static-rdf-server | |
uses: Informasjonsforvaltning/[email protected] | |
id: upload-rdf | |
with: | |
ontology-type: "specification" | |
ontology: "forvaltningsstandard-begrepsbeskrivelser" | |
host: "https://fellesdatakatalog.digdir.no" | |
api-key: ${{ secrets.STATIC_RDF_SERVER_API_KEY }} | |
files: | | |
docs/index.html text/html nb | |
docs/files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf application/pdf nb files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf | |
docs/files/StandardForBegrepsbeskrivelse.xsd application/octet-stream nb files/StandardForBegrepsbeskrivelse.xsd | |
docs/images/Digdir.png image/png nb images/Digdir.png | |
docs/images/UML-v2.0.jpg image/jpeg nb images/UML-v2.0.jpg | |
docs/images/UML-v2.0.png image/png nb images/UML-v2.0.png |