fr-docs 0.1.0__py3-none-any.whl

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.
fr_docs/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """fr-docs: Fast static documentation generator with search, versioning, and zero-config setup."""
2
+
3
+ __version__ = "1.0.0"
fr_docs/__main__.py ADDED
@@ -0,0 +1,19 @@
1
+ """Entry point for fr-docs CLI.
2
+
3
+ Usage:
4
+ python -m fr_docs build [--production] [--config CONFIG]
5
+ fr-docs build [--production] [--config CONFIG]
6
+ """
7
+
8
+ import sys
9
+
10
+ from fr_docs.build import main
11
+
12
+ if __name__ == "__main__":
13
+ # If called as `python -m fr_docs build ...`, sys.argv[1] will be "build"
14
+ # If called as `fr-docs build ...`, sys.argv[1] will be "build"
15
+ # If called as `fr-docs ...` (no subcommand), sys.argv[1] will be the flags
16
+ args = sys.argv[1:]
17
+ if args and args[0] == "build":
18
+ args = args[1:]
19
+ main(args)