Skip to content

Commit

Permalink
better name for md testing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Aug 18, 2023
1 parent 5c380f0 commit c5d5816
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
cd test
find . -name '*.html' -exec rm {} \;
sed -i 's~, "log\.md"~~' conf.py
sed -i 's~, "cli-warning\.md"~~' conf.py
make html SPHINXOPTS='' 2>&1 | tee log.txt
git restore conf.py
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
source_suffix = ".md"
master_doc = "index"

exclude_patterns = ["_build", "log.md"]
exclude_patterns = ["_build", "cli-warning.md"]

html_theme = "default"
12 changes: 6 additions & 6 deletions test/log.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
test/log.md:3: WARNING: Unknown directive type: 'php:namespacee' [myst.directive_unknown]
test/log.md:8: WARNING: [phpdomain] Invalid signature
test/log.md:13: [phpdomain] Target Foo\Aa not found
test/log.md:15: [phpdomain] Target Foo\A::simplifyy not found
test/log.md:20: [phpdomain] Target Foo\Foo\A::simplify not found - did you mean to write A::simplify?
test/log.md:25: [phpdomain] Target Fooo\Foo\A::simplify not found - did you mean to write \Foo\A::simplify?
test/cli-warning.md:3: WARNING: Unknown directive type: 'php:namespacee' [myst.directive_unknown]
test/cli-warning.md:8: WARNING: [phpdomain] Invalid signature
test/cli-warning.md:13: [phpdomain] Target Foo\Aa not found
test/cli-warning.md:15: [phpdomain] Target Foo\A::simplifyy not found
test/cli-warning.md:20: [phpdomain] Target Foo\Foo\A::simplify not found - did you mean to write A::simplify?
test/cli-warning.md:25: [phpdomain] Target Fooo\Foo\A::simplify not found - did you mean to write \Foo\A::simplify?
test/ns.md:48: [phpdomain] Target A2::simplify not found
test/ns.md:53: [phpdomain] Target Bar2\A::simplify not found
test/rst_doc.md:506: [phpdomain] Target OtherLibrary\int|string|ReturnedClass|\LibraryName\SubPackage\SubpackageInterface|null not found
Expand Down

0 comments on commit c5d5816

Please sign in to comment.