Skip to content

Commit fb112a1

Browse files
authored
Merge pull request #35 from fraya/doc-update
Doc update
2 parents 1e5b16c + 240332c commit fb112a1

File tree

6 files changed

+47
-9
lines changed

6 files changed

+47
-9
lines changed

.github/workflows/build-docs.yml renamed to .github/workflows/build-and-deploy-docs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
name: Build documentation
1+
name: Build and deploy docs
22

33
on:
44
push:
55
# all branches
66
paths:
77
- 'documentation/**'
8-
pull_request:
9-
# all branches
10-
paths:
11-
- 'documentation/**'
128

139
# This enables the Run Workflow button on the Actions tab.
1410
workflow_dispatch:

.github/workflows/check-docs.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Check documentation
2+
3+
on:
4+
pull_request:
5+
# all branches
6+
paths:
7+
- 'documentation/**'
8+
9+
# This enables the Run Workflow button on the Actions tab.
10+
workflow_dispatch:
11+
12+
# https://github.com/JamesIves/github-pages-deploy-action#readme
13+
permissions:
14+
contents: write
15+
16+
# Set DYLAN environment variable to GITHUB_WORKSPACE so packages are
17+
# installed in ../../_packages relative to documentation's Makefile
18+
env:
19+
DYLAN: ${{ github.workspace }}
20+
21+
jobs:
22+
23+
build-and-deploy:
24+
runs-on: ubuntu-latest
25+
steps:
26+
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
30+
- name: Check links
31+
uses: addnab/docker-run-action@v3
32+
with:
33+
image: ghcr.io/fraya/dylan-docs
34+
options: -v ${{ github.workspace }}/documentation:/docs
35+
run: make linkcheck
36+
37+
- name: Build docs with Furo theme
38+
uses: addnab/docker-run-action@v3
39+
with:
40+
image: ghcr.io/fraya/dylan-docs
41+
options: -v ${{ github.workspace }}/documentation:/docs
42+
run: make html

documentation/source/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ at `GitHub
1818

1919
Inspiration for this library is taken among others from the defstorage
2020
system available as part of the `Genera Common Lisp operating system
21-
<http://en.wikipedia.org/wiki/Genera_%28operating_system%29>`_ and the
21+
<https://en.wikipedia.org/wiki/Genera_%28operating_system%29>`_ and the
2222
swiss-army knife for interactive packet manipulation `scapy (Web archive)
2323
<http://web.archive.org/web/20131217022133/http://bb.secdev.org/scapy/wiki/Home>`__.
2424

2525
For further information, you might want to read our published papers
2626
about a TCP/IP stack written entirely in Dylan:
2727

28-
* :download:`A domain-specific language for manipulation of binary data in Dylan <../papers/a-DSL-for-manipulation-of-binary-data.pdf>` (by Hannes Mehnert and Andreas Bogk at ILC 2007)
29-
* :download:`Secure Networking <../papers/secure-networking.pdf>` (by Andreas Bogk and Hannes Mehnert in 2006)
28+
* :download:`A domain-specific language for manipulation of binary data in Dylan <./papers/a-DSL-for-manipulation-of-binary-data.pdf>` (by Hannes Mehnert and Andreas Bogk at ILC 2007)
29+
* :download:`Secure Networking <./papers/secure-networking.pdf>` (by Andreas Bogk and Hannes Mehnert in 2006)
3030

3131
.. toctree::
3232
:maxdepth: 3

documentation/source/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ Predefined Leaf Frames
964964
:operations:
965965

966966
- :gf:`high-level-type` returns `<byte>
967-
https://opendylan.org/library-reference/common-dylan/byte-vector.html#common-dylan:byte-vector:[byte]`_.
967+
<https://opendylan.org/library-reference/common-dylan/byte-vector.html#common-dylan:byte-vector:[byte]>`_.
968968
- :gf:`field-size` returns 8.
969969

970970
:superclasses: :class:`<fixed-size-translated-leaf-frame>`

0 commit comments

Comments
 (0)