Skip to content

Commit

Permalink
Use sphinx option to write errors and warnings to a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Kleinekathoefer committed Nov 2, 2020
1 parent 4c02f18 commit a94b467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/theme/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (0, 4, 3)
VERSION = (0, 4, 4)
__version__ = '.'.join(str(v) for v in VERSION)


Expand Down
2 changes: 1 addition & 1 deletion src/theme/scripts/build-language
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export HTML_DOWNLOAD="spongedocs-$VERSION-$LANGUAGE_CODE.zip"

# Build HTML docs
echo "Building page for $LANGUAGE_CODE..."
sphinx-build -q -D "language=$LOCALE" -d "build/$LOCALE/doctrees" source "$dist_dir" > "$dist_dir/build-log.txt" 2>&1
sphinx-build -q -D "language=$LOCALE" -d "build/$LOCALE/doctrees" source "$dist_dir" -w "$dist_dir/build-log.txt"

# Replace working directory in log file
sed -i "s@$PWD/source/@@g" "$dist_dir/build-log.txt"
Expand Down

0 comments on commit a94b467

Please sign in to comment.