Skip to content

Commit f5de6e6

Browse files
authored
Merge pull request #19 from fraya/master
Continuous Integration of documents
2 parents 167546f + 845087c commit f5de6e6

File tree

4 files changed

+57
-6
lines changed

4 files changed

+57
-6
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build and test documentation
2+
3+
on:
4+
push:
5+
# all branches
6+
paths:
7+
- 'documentation/**/*.rst'
8+
- 'documentation/**/conf.py'
9+
10+
pull_request:
11+
# all branches
12+
paths:
13+
- 'documentation/**/*.rst'
14+
- 'documentation/**/conf.py'
15+
16+
# This enables the Run Workflow button on the Actions tab.
17+
workflow_dispatch:
18+
19+
jobs:
20+
build-documentation:
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os: [ubuntu-latest]
25+
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Link check
30+
uses: addnab/docker-run-action@v3
31+
with:
32+
image: ghcr.io/fraya/dylan-docs
33+
options: -v ${{ github.workspace }}/documentation:/docs
34+
run: make linkcheck
35+
36+
- name: Build docs with Furo theme
37+
uses: addnab/docker-run-action@v3
38+
with:
39+
image: ghcr.io/fraya/dylan-docs
40+
options: -v ${{ github.workspace }}/documentation:/docs
41+
run: make html
42+
43+
- name: Upload html artifact
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: strings-doc-html
47+
path: documentation/build/html/

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a strings library for Dylan providing common string and
66
character functions.
77

88
It was initially described in `DEP-0004
9-
<http://opendylan.org/proposals/dep-0004.html>`_.
9+
<https://opendylan.org/proposals/dep-0004-strings-library.html>`_.
1010

1111
It is documented within the `Open Dylan Library Reference
1212
<http://opendylan.org/documentation/library-reference/>`_.

documentation/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@
4141

4242
# sudo pip install -U furo
4343
html_theme = 'furo'
44+
45+
# Ignore SNI validation errors
46+
tls_verify = False

documentation/source/index.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The strings Library
88
The *strings* library exports definitions for basic string manipulation.
99

1010
The *strings* library was originally defined in `DEP-0004
11-
<http://opendylan.org/proposals/dep-0004.html>`_. Some additional background
12-
material can be found there.
11+
<https://opendylan.org/proposals/dep-0004-strings-library.html>`_. Some
12+
additional background material can be found there.
1313

1414
.. toctree::
1515
:hidden:
@@ -32,8 +32,8 @@ material can be found there.
3232
will be updated to support it also.
3333

3434
The strings library was originally defined in `DEP-0004
35-
<http://opendylan.org/proposals/dep-0004.html>`_. Some additional
36-
background material can be found there.
35+
<https://opendylan.org/proposals/dep-0004-strings-library.html>`_. Some
36+
additional background material can be found there.
3737

3838

3939
The strings Module
@@ -806,7 +806,8 @@ Comparison Functions
806806

807807
Case insensitive character comparison functions are provided for
808808
convenience. (See `DEP-0004
809-
<http://opendylan.org/proposals/dep-0004.html>`_ for discussion.)
809+
<https://opendylan.org/proposals/dep-0004-strings-library.html>`_. for
810+
discussion.)
810811

811812
.. function:: char-compare
812813

0 commit comments

Comments
 (0)