@tobi-or-not/docpress 0.9.1 → 0.10.0
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.
- package/README.md +2 -0
- package/dist/cli.js +296 -255
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ Options:
|
|
|
60
60
|
Values should be "github" or "gitlab".
|
|
61
61
|
(default: "github")
|
|
62
62
|
-h, --help display help for command
|
|
63
|
+
-l, --last-updated Whether or not to inject each page's last Git commit date as Vitepress "lastUpdated" frontmatter.
|
|
63
64
|
-p, --extra-header-pages <string> List of comma separated additional files or directories to process Vitepress header pages.
|
|
64
65
|
-r, --repos-filter <string> List of comma separated repositories to retrieve from Git provider. Default to all user's public repositories.
|
|
65
66
|
-t, --extra-theme <string> List of comma separated additional files or directories to use as Vitepress theme.
|
|
@@ -131,6 +132,7 @@ To ensure that the program functions correctly, please follow these conventions:
|
|
|
131
132
|
|
|
132
133
|
- Any inline link in the `./README.md` file that does not point to `./docs/**` will be replaced with the corresponding Git provider link.
|
|
133
134
|
- Similarly, any inline link in the `./docs/*.md` files that does not reference `./docs/**` will also be replaced with the appropriate Git provider link.
|
|
135
|
+
- Relative links between markdown files are rewritten to follow the file renaming rules, so `[profiles](./04-profiles.md#anchor)` will be rewritten to `[profiles](./profiles.md#anchor)` to match the renamed target file.
|
|
134
136
|
|
|
135
137
|
### Project descriptions
|
|
136
138
|
|