Skip to content

Commit

Permalink
[soil] Add ref check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Dec 5, 2023
1 parent ab27b8e commit a0f7463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doctools/ref_check.py
Expand Up @@ -109,7 +109,7 @@ def Check(all_toc_nodes, chap_tree):

chap_topics = collections.defaultdict(list) # topic_id -> list of chapters

min_words = 5 # arbitrary
min_words = 10 # arbitrary

for chap in chap_tree.children:

Expand Down Expand Up @@ -156,7 +156,7 @@ def Check(all_toc_nodes, chap_tree):
assert 'j8-escape' in chap_topic_set

# Report on link integrity
if 0:
if 1:
broken = link_from - link_to
log('%d Broken Links:', len(broken))
for pair in sorted(broken):
Expand Down
1 change: 1 addition & 0 deletions soil/worker.sh
Expand Up @@ -263,6 +263,7 @@ tools-deps test/tools-deps.sh soil-run -
make-tarball devtools/release.sh quick-oil-tarball _release/oil.tar
test-tarball devtools/release.sh test-oil-tar -
docs build/doc.sh soil-run _release/VERSION/index.html
ref-check build/doc.sh ref-check -
EOF
}

Expand Down

0 comments on commit a0f7463

Please sign in to comment.