fr-docs 2.1.2__tar.gz → 2.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {fr_docs-2.1.2 → fr_docs-2.1.3}/PKG-INFO +1 -1
  2. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/build.py +6 -2
  3. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/template.py +1 -4
  4. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/PKG-INFO +1 -1
  5. {fr_docs-2.1.2 → fr_docs-2.1.3}/pyproject.toml +1 -1
  6. {fr_docs-2.1.2 → fr_docs-2.1.3}/LICENSE.md +0 -0
  7. {fr_docs-2.1.2 → fr_docs-2.1.3}/README.md +0 -0
  8. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/__init__.py +0 -0
  9. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/__main__.py +0 -0
  10. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/config.py +0 -0
  11. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/config_accessors.py +0 -0
  12. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/frontmatter.py +0 -0
  13. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/git.py +0 -0
  14. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/html_pipeline.py +0 -0
  15. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/init.py +0 -0
  16. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/markdown.py +0 -0
  17. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/search.py +0 -0
  18. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/slug.py +0 -0
  19. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/syntax.py +0 -0
  20. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs/utils.py +0 -0
  21. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/SOURCES.txt +0 -0
  22. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/dependency_links.txt +0 -0
  23. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/entry_points.txt +0 -0
  24. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/requires.txt +0 -0
  25. {fr_docs-2.1.2 → fr_docs-2.1.3}/fr_docs.egg-info/top_level.txt +0 -0
  26. {fr_docs-2.1.2 → fr_docs-2.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fr-docs
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Fast static documentation generator with search, versioning, and zero-config setup
5
5
  License: # PolyForm Noncommercial License 1.0.0
6
6
 
@@ -69,7 +69,9 @@ def _minify_static_asset(config, src: Path, dst: Path, name: str) -> None:
69
69
  str(dst),
70
70
  ]
71
71
  cmd = [c for c in cmd if c]
72
- result = subprocess.run(cmd, capture_output=True, text=True, check=False, cwd=str(repo_root))
72
+ result = subprocess.run(
73
+ cmd, capture_output=True, text=True, check=False, cwd=str(repo_root)
74
+ )
73
75
  if result.returncode != 0 or not dst.exists() or dst.stat().st_size == 0:
74
76
  print(f" ! minify failed for {name}, copying raw: {result.stderr[-300:]}")
75
77
  shutil.copyfile(src, dst)
@@ -95,7 +97,9 @@ def _minify_static_asset(config, src: Path, dst: Path, name: str) -> None:
95
97
  str(wrapper),
96
98
  ]
97
99
  cmd = [c for c in cmd if c]
98
- result = subprocess.run(cmd, capture_output=True, text=True, check=False, cwd=str(repo_root))
100
+ result = subprocess.run(
101
+ cmd, capture_output=True, text=True, check=False, cwd=str(repo_root)
102
+ )
99
103
  if result.returncode == 0 and min_out.exists():
100
104
  out = min_out.read_text(encoding="utf-8")
101
105
  m = re.search(r"<style>([\s\S]*)</style>", out)
@@ -21,10 +21,7 @@ TEMPLATE = """\
21
21
  <link rel="icon" href="{site_prefix}favicon.svg" type="image/svg+xml">
22
22
  <link rel="preconnect" href="https://fonts.googleapis.com">
23
23
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
24
- <link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800&family=JetBrains+Mono:wght@400..700&display=optional" rel="stylesheet">
25
- <link rel="preload" as="font" href="https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmM.woff2" type="font/woff2" crossorigin>
26
- <link rel="preload" as="font" href="https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTcviYwYZ8UA3.woff2" type="font/woff2" crossorigin>
27
- <link rel="preload" as="font" href="https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0P.woff2" type="font/woff2" crossorigin>
24
+ <link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800&family=JetBrains+Mono:wght@400..700&display=swap" rel="stylesheet">
28
25
  </head>
29
26
  <body>
30
27
  <!-- Header -->
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fr-docs
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Fast static documentation generator with search, versioning, and zero-config setup
5
5
  License: # PolyForm Noncommercial License 1.0.0
6
6
 
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "fr-docs"
9
- version = "2.1.2"
9
+ version = "2.1.3"
10
10
  description = "Fast static documentation generator with search, versioning, and zero-config setup"
11
11
  requires-python = ">=3.14"
12
12
  dependencies = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes