Skip to content

Commit 4416d88

Browse files
authored
Update workflow for new repository name (#20)
1 parent ad09d0f commit 4416d88

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/sphinx.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
run: |
3434
touch _build/.nojekyll
3535
36+
- name: Create CNAME file
37+
run: |
38+
if [ ! -z ${CNAME// } ]; then
39+
echo ${CNAME} > _build/CNAME
40+
fi
41+
env:
42+
CNAME: ${{ secrets.CNAME }}
43+
3644
- uses: JamesIves/[email protected]
3745
if: ${{ github.event_name == 'push' && steps.deploy-on-push.outputs.result != 0 }}
3846
with:

pages/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"""
3838

3939
html_theme_options = {
40-
"repository_url": "https://github.com/awvwgk/fpm-docs",
40+
"repository_url": "https://github.com/fortran-lang/fpm-docs",
4141
"repository_branch": "main",
4242
"use_repository_button": True,
4343
"use_edit_page_button": True,

pages/spec/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ This section contains the specifications the components of the Fortran package m
77
:::
88

99
:::{tip}
10-
The generated API documentation of the fpm internals can be found at https://fpm.fortran-lang.org.
10+
The generated API documentation of the fpm internals can be found [here](https://fortran-lang.github.io/fpm).
1111
:::
1212

1313
:::{toctree}
1414
manifest
15-
API documentation <https://fpm.fortran-lang.org>
15+
API documentation <https://fortran-lang.github.io/fpm>
1616
:::

0 commit comments

Comments
 (0)