mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 16:51:46 -07:00
Excluding manual/build.txt from check-rst. fixes github issue.
GitHub-reference: https://github.com/Ravenbrook/mps/issues/155
This commit is contained in:
parent
f3b1e0ff62
commit
2e1e0624a6
1 changed files with 6 additions and 5 deletions
|
|
@ -10,16 +10,17 @@
|
|||
# It can be invoked from the command line of from Continuous
|
||||
# Integration scripts. See .github/workflows/rst-check.yml
|
||||
#
|
||||
# This script excludes manual/source because the reStructuredText
|
||||
# there is in an extended Sphinx format that can't be checked by the
|
||||
# basic docutils. It can be checked by building the manual. See
|
||||
# manual/Makefile.
|
||||
# This script excludes the manual because the reStructuredText there
|
||||
# is in an extended Sphinx format that can't be checked by the basic
|
||||
# docutils. It can be checked by building the manual. See "Building
|
||||
# the MPS manual" in manual/build.txt.
|
||||
|
||||
{
|
||||
find . -path ./manual/source -prune -o \
|
||||
-path ./manual/tool -prune -o \
|
||||
-type f -name '*.rst' -print
|
||||
find . -type f -name '*.txt' -print |
|
||||
find . -path ./manual/build.txt -prune -o \
|
||||
-type f -name '*.txt' -print |
|
||||
while read -r f; do
|
||||
if head -1 -- "$f" | grep -F -q -e '-*- rst -*-'; then
|
||||
echo "$f"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue