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
27 changes: 0 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,3 @@ jobs:
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 14

deploy:
name: Deploy to GitHub Pages
needs: build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ _archive-vitepress/.jekyll-cache/
TODO*
!TODO.astro/
!TODO.improve-website/
src/content/library/api-reference-ruby.md
132 changes: 131 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"fetch:api": "node scripts/fetch-api-reference.mjs"
},
"dependencies": {
"@asciidoctor/core": "^2.2.8",
"@astrojs/mdx": "^7.0.2",
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.3",
Expand Down Expand Up @@ -48,4 +49,4 @@
"typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}
}
2 changes: 2 additions & 0 deletions src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ const specs = defineCollection({
loader: glob({ pattern: '**/*.md', base: './src/content/specs' }),
schema: baseSchema.extend({
ord: z.number().default(0),
// the sibling .adoc the entry renders (converted at build time)
adoc: z.string().optional(),
}),
})

Expand Down
2 changes: 0 additions & 2 deletions src/content/specs/iec-urn-specification.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ Global.

== References

[bibliography]
=== Normative References

* [[[ISODIR1,IEC/ISO Directives Part 1]]] -- Procedures for the
Expand All @@ -560,7 +559,6 @@ Global.
* [[[RFC5234,RFC 5234]]] -- Crocker, D., Overell, P., "Augmented BNF
for Syntax Specifications: ABNF", January 2008.

[bibliography]
=== Informative References

* IEC URI Model, version 2019-12-10 (internal IEC document).
Expand Down
9 changes: 2 additions & 7 deletions src/content/specs/iec-urn.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
prev: /specs/iso-urn
---

<script setup>
import adocHtml from './iec-urn-specification.adoc'
</script>

<div class="adoc-content" v-html="adocHtml" />
adoc: iec-urn-specification.adoc
---
Loading
Loading