Fix: bad uri for static files
This commit is contained in:
parent
7fa7573977
commit
7565a38385
3 changed files with 7 additions and 2 deletions
5
CHANGES
5
CHANGES
|
@ -2,6 +2,11 @@
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
2.0.2 (*2024-07-29*)
|
||||||
|
====================
|
||||||
|
|
||||||
|
- Fix static uri
|
||||||
|
|
||||||
2.0.1 (*2023-08-11*)
|
2.0.1 (*2023-08-11*)
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "sphinx_fasvg"
|
name = "sphinx_fasvg"
|
||||||
version = "2.0.1"
|
version = "2.0.2"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Sphinx>=7.0.0"
|
"Sphinx>=7.0.0"
|
||||||
|
|
|
@ -44,7 +44,7 @@ def append_fa_image(self: HTMLTranslator, node: fa or falink) -> None:
|
||||||
|
|
||||||
path = relative_uri(
|
path = relative_uri(
|
||||||
self.builder.current_docname,
|
self.builder.current_docname,
|
||||||
self.builder.get_asset_paths()[0] + '/' + path
|
self.builder.outdir + '/_static/' + path
|
||||||
)
|
)
|
||||||
|
|
||||||
label_uid = uuid.uuid4()
|
label_uid = uuid.uuid4()
|
||||||
|
|
Loading…
Reference in a new issue