Skip to content

Commit

Permalink
Fix News and Move Linkcheck to a Seperate Job
Browse files Browse the repository at this point in the history
  • Loading branch information
iguessthislldo committed Jul 2, 2024
1 parent 4b8ff3c commit 2aa8355
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/sphinx_strict.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sphinx_strict
name: Sphinx Tests

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
- cron: '0 1 * * SUN'

jobs:
build:
strict:
runs-on: ubuntu-latest
steps:
- name: checkout OpenDDS
Expand All @@ -16,3 +16,13 @@ jobs:
- name: Run Strict Checks
run: |
python3 docs/build.py strict
linkcheck:
runs-on: ubuntu-latest
steps:
- name: checkout OpenDDS
uses: actions/checkout@v4

- name: Run Link Checks
run: |
python3 docs/build.py linkchecks
3 changes: 3 additions & 0 deletions docs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def do_test(self):
def do_strict(self):
self.do(['test'], because_of='strict')
self.sphinx_build('dummy', '-W')
return None

def do_linkcheck(self):
self.sphinx_build('linkcheck', defines=['gen_all_omg_spec_links=False'])
return None

Expand Down
2 changes: 1 addition & 1 deletion docs/news.d/resend_period_fractions_seconds.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. news-prs: 4712
.. news-start-section: Additions
- :prop:`[rtps_discovery]ResendPeriod` now accepts fractions of a second.
- :cfg:prop:`[rtps_discovery]ResendPeriod` now accepts fractions of a second.
.. news-end-section

0 comments on commit 2aa8355

Please sign in to comment.