Skip to content

Commit

Permalink
Fix image target directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
danirus committed Nov 26, 2024
1 parent 12b37ec commit ae89f88
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 13 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## [0.2.1] - 2024-11-26

- Fix: destination directory was not properly referred to when copying images.

## [0.2.0] - 2024-11-25

- Remove unnecessary `console.log`.
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ build-docs: ## Create sphinx-colorschemed-images documentation.
make -C docs clean
make -C docs html

debug-docs: ## Create sphinx-colorschemed-images docs with debug enabled.
make -C docs clean
python debug_sphinx.py docs docs/_build -T

serve-lcov: js-tests ## Web server for content from lcov-report directory.
python -m http.server -d js/coverage/lcov-report 8193

Expand Down
13 changes: 13 additions & 0 deletions debug_sphinx.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Run like:
#
# $ python debug_sphinx.py docs/source docs/build -T
#

import re
import sys

from sphinx.cmd.build import main

if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw?|\.exe)?$", "", sys.argv[0])
sys.exit(main())
3 changes: 1 addition & 2 deletions dist/js/sphinx-colorschemed-images.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/sphinx-colorschemed-images.esm.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/js/sphinx-colorschemed-images.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae89f88

Please sign in to comment.