diff options
author | Maximiliano Sandoval R <msandova@gnome.org> | 2022-01-16 12:02:16 +0100 |
---|---|---|
committer | Maximiliano Sandoval R <msandova@protonmail.com> | 2022-04-13 21:12:51 +0200 |
commit | c7a4b24e98797f8f2baa07449b7e2a33d36fc525 (patch) | |
tree | 4b932ac3d0952a8b90abc38d2ff6d11fa62db5cd /.gitlab-ci | |
parent | 35219d9a618b2418454a558c060ef585972dfadf (diff) | |
download | libsoup-c7a4b24e98797f8f2baa07449b7e2a33d36fc525.tar.gz |
Port to gi-docgen
The file was not used anywhere docs/reference/client-howto.xml.
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/check-docs.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/.gitlab-ci/check-docs.py b/.gitlab-ci/check-docs.py deleted file mode 100755 index 8d432df7..00000000 --- a/.gitlab-ci/check-docs.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 - -import sys - -with open('_build/docs/reference/libsoup-3.0-unused.txt') as f: - unused_docs = f.read() - -if unused_docs: - print('There is documentation not listed in libsoup-3.0-sections.txt:') - print(unused_docs) - sys.exit(1) - -with open('_build/docs/reference/libsoup-3.0-undocumented.txt') as f: - # The file starts with a summary - # undocumented_summary = ''.join(f.readline() for i in range(6)).strip() - print(f.readline()) # e.g. 95% symbol docs coverage. - for i in range(4): - f.readline() - undocumented_list = f.read().strip() - -if undocumented_list: - print('There is missing documentation for these symbols:') - print(undocumented_list) - sys.exit(1) |