Skip to content

Commit

Permalink
Merge pull request #89 from Informasjonsforvaltning/develop
Browse files Browse the repository at this point in the history
develop -> v1
  • Loading branch information
KurtStian authored Dec 9, 2022
2 parents 53e633e + a2e7a62 commit f052c31
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/adocs-build-and-publish-develop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build adocs and publish to develop (github pages)
name: Build adocs develop and publish to Github pages

on:
push:
Expand All @@ -10,21 +10,21 @@ on:

jobs:
adoc_build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
name: asciidoctor build
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build html
id: adocbuild
uses: avattathil/asciidoctor-action@master
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: avattathil/asciidoctor-action@master
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor-pdf -D docs -o forvaltningsstandard-begrepsbeskrivelser.pdf -a lang=nb docs/main.adoc"
program: "asciidoctor-pdf -D docs -o forvaltningsstandard-begrepsbeskrivelser-utfases.pdf -a lang=nb docs/main.adoc"
continue-on-error: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/adocs-build-and-publish-v1-production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build adocs and publish to production
name: Build adocs and publish v1 to production

on:
push:
Expand All @@ -21,19 +21,19 @@ jobs:

- name: Build html
id: adocbuild
uses: avattathil/asciidoctor-action@master
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: avattathil/asciidoctor-action@master
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor-pdf -D docs -o files/forvaltningsstandard-begrepsbeskrivelser.pdf -a lang=nb docs/main.adoc"
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/upload-files-to-static-rdf-server-action@v3.1.0
uses: Informasjonsforvaltning/upload-files-to-static-rdf-server-action@v3.2.0
id: upload-rdf
with:
ontology-type: "specification"
Expand All @@ -42,8 +42,8 @@ jobs:
api-key: ${{ secrets.STATIC_RDF_SERVER_API_KEY }}
files: |
docs/index.html text/html nb
docs/files/forvaltningsstandard-begrepsbeskrivelser.pdf application/pdf nb files/forvaltningsstandard-begrepsbeskrivelser.pdf
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/digitaliseringsdirektoratet.png image/png nb images/digitaliseringsdirektoratet.png
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
Binary file added docs/images/Digdir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/digitaliseringsdirektoratet.png
Binary file not shown.
17 changes: 5 additions & 12 deletions docs/main.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
include::locale/attributes.adoc[]

= Forvaltningsstandard for begrepsbeskrivelser - Versjon 2.0.2
Digitaliseringsdirektoratet (Digdir) / The Norwegian Digitalisation Agency
:description: Forvaltningsstandard for begrepsbeskrivelser
:doctype: book
:docinfo:
:icons: font
:toc: left
:toclevels: 2
:sectanchors:
:title-logo-image: image:images/digitaliseringsdirektoratet.png[pdfwidth=30vw]
:title-logo-image: image:images/Digdir.png[pdfwidth=30vw]
:table-stripes: even

//:sectnums:
Expand All @@ -17,22 +18,14 @@ include::locale/attributes.adoc[]

//{description}

image::images/digitaliseringsdirektoratet.png[width=50%, pdfwidth=30vw]

WARNING: #Standarden er p.t. under revisjon#. Forslag til revidert versjon vil bli tilgjengelig som https://informasjonsforvaltning.github.io/skos-ap-no-begrep/[Redaktørens utkast]
image::images/Digdir.png[width=50%, pdfwidth=30vw]

*Status*: #Fases ut# og erstattes av https://data.norge.no/specification/skos-ap-no-begrep[Forvaltningsstandard for begrepsbeskrivelser (SKOS-AP-NO-Begrep)] +
*Publisert*: 2019-03-15 (v.2.0) +
*Oppdatert*: 2020-07-01 (v.2.0.2) +
*Status*: Gjeldende
*Oppdatert*: 2020-07-01 (v.2.0.2), 2022-12-09 (Fases ut) +

include::shared/download.adoc[]

NOTE: *Innmelding av feil og mangler:* +
Dersom du finner feil eller mangler i dokumentet, ber vi om at dette meldes inn på https://github.com/Informasjonsforvaltning/forvaltningsstandard-begrepsbeskrivelser/issues[Github Issues]. Dersom du ikke allerede har bruker på Github kan du opprette bruker gratis.

[TIP]
Det er utarbeidet en https://data.norge.no/guide/veileder-begrepsbeskrivelser/[veileder for bruk av denne forvaltningsstandard].

// :leveloffset: +1

// Innhold her.
Expand Down
3 changes: 1 addition & 2 deletions docs/shared/download.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ ifeval::["{backend}" == "html5"]

[TIP]
//.Nedlasting av dokumentet
Dette dokumentet kan også lastes ned link:files/forvaltningsstandard-begrepsbeskrivelser.pdf[som PDF].
Dersom det oppleves problemer med nedlastet utgave, eksempelvis bilder som mangler eller lenker som ikke fungerer, ber vi om at man benytter versjonen tilgjengelig på nett for de aktuelle delene.
Dette dokumentet kan også lastes ned link:files/forvaltningsstandard-begrepsbeskrivelser-utfases.pdf[som PDF].

endif::[]

0 comments on commit f052c31

Please sign in to comment.