@gitpagedocs/cli 0.0.26 → 0.0.27
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 +1 -1
- package/content/docs-en.mjs +4 -4
- package/content/docs-es.mjs +4 -4
- package/content/docs-pt.mjs +4 -4
- package/content/practical-en.mjs +3 -3
- package/content/practical-es.mjs +3 -3
- package/content/practical-pt.mjs +3 -3
- package/contracts/doc-versions.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ The AI-CLI implementation lives in `cli/ai/` (relocated from the frontend so the
|
|
|
39
39
|
|
|
40
40
|
## Generated documentation and themes
|
|
41
41
|
|
|
42
|
-
Version 0.0.
|
|
42
|
+
Version 0.0.27 registers documentation versions 0.0.27, 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 and 0.0.9, newest first, with English, Portuguese and Spanish pages. Existing older folders are preserved. Source content lives in `content/`; defaults and UI labels live in `data/`; edit these sources before regeneration. The published package includes the English PDF guide and the local HTML integration for the externally hosted DOOM player.
|
|
43
43
|
|
|
44
44
|
The scaffold includes independent file pagination for Markdown, HTML, video, audio and PDF in page 50, with two localized HTML samples, local WAV tracks and a PDF reference. Configure shared controls in `site.containerPagination` and each sequence in its route's `pagination.items`. The generated pagination and Markdown markers guides explain defaults, route overrides, focus/search integration and theme-aware highlights linked from the document index. `RouteGuideSpeciFicbrand` keeps its existing heading-filter behavior.
|
|
45
45
|
|
package/content/docs-en.mjs
CHANGED
|
@@ -52,7 +52,7 @@ PDF actions use icons by default. Configure \`site.icons.PdfDownload\` (\`LuDown
|
|
|
52
52
|
|
|
53
53
|
## Route and menu example
|
|
54
54
|
|
|
55
|
-
In \`gitpagedocs/docs/versions/0.0.
|
|
55
|
+
In \`gitpagedocs/docs/versions/0.0.27/config.json\`, keep route and menu arrays at the top level:
|
|
56
56
|
|
|
57
57
|
\`\`\`json
|
|
58
58
|
{
|
|
@@ -61,9 +61,9 @@ In \`gitpagedocs/docs/versions/0.0.26/config.json\`, keep route and menu arrays
|
|
|
61
61
|
"title": { "en": "Project guide (English)", "pt": "Guia do projeto (inglês)", "es": "Guía del proyecto (inglés)" },
|
|
62
62
|
"pdf": {
|
|
63
63
|
"pathPdf": {
|
|
64
|
-
"en": "gitpagedocs/docs/versions/0.0.
|
|
65
|
-
"pt": "gitpagedocs/docs/versions/0.0.
|
|
66
|
-
"es": "gitpagedocs/docs/versions/0.0.
|
|
64
|
+
"en": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
65
|
+
"pt": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
66
|
+
"es": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf"
|
|
67
67
|
},
|
|
68
68
|
"previewEnabled": true,
|
|
69
69
|
"downloadEnabled": true,
|
package/content/docs-es.mjs
CHANGED
|
@@ -51,7 +51,7 @@ Las acciones PDF usan iconos por defecto. Configura \`site.icons.PdfDownload\` (
|
|
|
51
51
|
|
|
52
52
|
## Ejemplo de ruta y menú
|
|
53
53
|
|
|
54
|
-
En \`gitpagedocs/docs/versions/0.0.
|
|
54
|
+
En \`gitpagedocs/docs/versions/0.0.27/config.json\`, conserva las listas de rutas y menús en el nivel principal:
|
|
55
55
|
|
|
56
56
|
\`\`\`json
|
|
57
57
|
{
|
|
@@ -60,9 +60,9 @@ En \`gitpagedocs/docs/versions/0.0.26/config.json\`, conserva las listas de ruta
|
|
|
60
60
|
"title": { "en": "Project guide (English)", "pt": "Guia do projeto (inglês)", "es": "Guía del proyecto (inglés)" },
|
|
61
61
|
"pdf": {
|
|
62
62
|
"pathPdf": {
|
|
63
|
-
"en": "gitpagedocs/docs/versions/0.0.
|
|
64
|
-
"pt": "gitpagedocs/docs/versions/0.0.
|
|
65
|
-
"es": "gitpagedocs/docs/versions/0.0.
|
|
63
|
+
"en": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
64
|
+
"pt": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
65
|
+
"es": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf"
|
|
66
66
|
},
|
|
67
67
|
"previewEnabled": true,
|
|
68
68
|
"downloadEnabled": true,
|
package/content/docs-pt.mjs
CHANGED
|
@@ -51,7 +51,7 @@ As ações PDF usam ícones por padrão. Configure \`site.icons.PdfDownload\` (\
|
|
|
51
51
|
|
|
52
52
|
## Exemplo de rota e menu
|
|
53
53
|
|
|
54
|
-
Em \`gitpagedocs/docs/versions/0.0.
|
|
54
|
+
Em \`gitpagedocs/docs/versions/0.0.27/config.json\`, mantenha as listas de rotas e menus no nível principal:
|
|
55
55
|
|
|
56
56
|
\`\`\`json
|
|
57
57
|
{
|
|
@@ -60,9 +60,9 @@ Em \`gitpagedocs/docs/versions/0.0.26/config.json\`, mantenha as listas de rotas
|
|
|
60
60
|
"title": { "en": "Project guide (English)", "pt": "Guia do projeto (inglês)", "es": "Guía del proyecto (inglés)" },
|
|
61
61
|
"pdf": {
|
|
62
62
|
"pathPdf": {
|
|
63
|
-
"en": "gitpagedocs/docs/versions/0.0.
|
|
64
|
-
"pt": "gitpagedocs/docs/versions/0.0.
|
|
65
|
-
"es": "gitpagedocs/docs/versions/0.0.
|
|
63
|
+
"en": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
64
|
+
"pt": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf",
|
|
65
|
+
"es": "gitpagedocs/docs/versions/0.0.27/en/gitpagedocs-project-guide.pdf"
|
|
66
66
|
},
|
|
67
67
|
"previewEnabled": true,
|
|
68
68
|
"downloadEnabled": true,
|
package/content/practical-en.mjs
CHANGED
|
@@ -13,7 +13,7 @@ Add this route to the version configuration's existing \`routes-html\` array. Ke
|
|
|
13
13
|
${HTML_ROUTE_JSON}
|
|
14
14
|
\`\`\`
|
|
15
15
|
|
|
16
|
-
Add a localized item in \`menus-header-html\`. Each \`path-click\` must match its language's route path, such as \`gitpagedocs/docs/versions/0.0.
|
|
16
|
+
Add a localized item in \`menus-header-html\`. Each \`path-click\` must match its language's route path, such as \`gitpagedocs/docs/versions/0.0.27/en/doom.html\`; do not substitute \`page:29\` for this local HTML path. Menu labels do not create routes. HTML uses the same recursive \`submenus\` structure as other menus.
|
|
17
17
|
|
|
18
18
|
## Size, content and external URLs
|
|
19
19
|
|
|
@@ -35,9 +35,9 @@ This guide builds a small multilingual documentation site with two Markdown page
|
|
|
35
35
|
|
|
36
36
|
## 1. Generate and inspect the scaffold
|
|
37
37
|
|
|
38
|
-
The scaffold includes versions 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 and 0.0.9 in the version selector, newest first. All versions contain the current examples; the package version is 0.0.
|
|
38
|
+
The scaffold includes versions 0.0.27, 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 and 0.0.9 in the version selector, newest first. All versions contain the current examples; the package version is 0.0.27. Their paths and version badges are generated for the selected documentation version. Older existing version folders are not deleted.
|
|
39
39
|
|
|
40
|
-
Run \`npx --yes @gitpagedocs/cli@0.0.
|
|
40
|
+
Run \`npx --yes @gitpagedocs/cli@0.0.27 --no-interactive --owner YOUR_USER --repo YOUR_REPOSITORY\` in a new project directory. In this source repository, \`node cli/index.mjs\` runs the checked-out version. Generation writes configuration and documentation; it does not start the Next.js viewer.
|
|
41
41
|
|
|
42
42
|
Use the following complete JSON as a minimal root-config example in \`gitpagedocs/config.json\`. For an existing site, merge the relevant fields and preserve its repository identity, deployment settings, themes and other versions.
|
|
43
43
|
|
package/content/practical-es.mjs
CHANGED
|
@@ -13,7 +13,7 @@ Añade esta ruta al array \`routes-html\` existente en la configuración de la v
|
|
|
13
13
|
${HTML_ROUTE_JSON}
|
|
14
14
|
\`\`\`
|
|
15
15
|
|
|
16
|
-
Añade un elemento traducido en \`menus-header-html\`. Cada \`path-click\` debe coincidir con la ruta de su idioma, como \`gitpagedocs/docs/versions/0.0.
|
|
16
|
+
Añade un elemento traducido en \`menus-header-html\`. Cada \`path-click\` debe coincidir con la ruta de su idioma, como \`gitpagedocs/docs/versions/0.0.27/es/doom.html\`; no sustituyas esta ruta HTML local por \`page:29\`. Una etiqueta de menú no crea una ruta. HTML admite la misma estructura recursiva \`submenus\` que los demás menús.
|
|
17
17
|
|
|
18
18
|
## Tamaño, contenido y URLs externas
|
|
19
19
|
|
|
@@ -35,9 +35,9 @@ Esta guía crea un sitio pequeño en tres idiomas, con dos páginas Markdown y u
|
|
|
35
35
|
|
|
36
36
|
## 1. Genera y revisa la estructura
|
|
37
37
|
|
|
38
|
-
El scaffold incluye las versiones 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 y 0.0.9 en el selector, de la más reciente a la más antigua. Todas contienen los ejemplos actuales; la versión del paquete es 0.0.
|
|
38
|
+
El scaffold incluye las versiones 0.0.27, 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 y 0.0.9 en el selector, de la más reciente a la más antigua. Todas contienen los ejemplos actuales; la versión del paquete es 0.0.27. Las rutas y etiquetas se generan para la versión correspondiente de la documentación. No se eliminan las carpetas existentes de versiones anteriores.
|
|
39
39
|
|
|
40
|
-
Ejecuta \`npx --yes @gitpagedocs/cli@0.0.
|
|
40
|
+
Ejecuta \`npx --yes @gitpagedocs/cli@0.0.27 --no-interactive --owner TU_USUARIO --repo TU_REPOSITORIO\` en un directorio de proyecto nuevo. En este repositorio de código fuente, \`node cli/index.mjs\` ejecuta la versión del checkout. La generación escribe configuración y documentación; no inicia el visor Next.js.
|
|
41
41
|
|
|
42
42
|
El siguiente JSON completo es un ejemplo mínimo de \`gitpagedocs/config.json\`. Para un sitio existente, combina los campos relevantes y conserva la identidad del repositorio, la publicación, los temas y las demás versiones.
|
|
43
43
|
|
package/content/practical-pt.mjs
CHANGED
|
@@ -13,7 +13,7 @@ Adicione esta rota ao array \`routes-html\` existente na configuração da vers
|
|
|
13
13
|
${HTML_ROUTE_JSON}
|
|
14
14
|
\`\`\`
|
|
15
15
|
|
|
16
|
-
Adicione um item traduzido em \`menus-header-html\`. Cada \`path-click\` deve corresponder ao caminho da rota no mesmo idioma, como \`gitpagedocs/docs/versions/0.0.
|
|
16
|
+
Adicione um item traduzido em \`menus-header-html\`. Cada \`path-click\` deve corresponder ao caminho da rota no mesmo idioma, como \`gitpagedocs/docs/versions/0.0.27/pt/doom.html\`; não substitua esse caminho HTML local por \`page:29\`. Um rótulo de menu não cria uma rota. HTML aceita a mesma estrutura recursiva \`submenus\` dos outros menus.
|
|
17
17
|
|
|
18
18
|
## Dimensões, conteúdo e URLs externas
|
|
19
19
|
|
|
@@ -35,9 +35,9 @@ Este guia monta um site pequeno em três idiomas, com duas páginas Markdown e m
|
|
|
35
35
|
|
|
36
36
|
## 1. Gere e confira a estrutura
|
|
37
37
|
|
|
38
|
-
O scaffold inclui as versões 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 e 0.0.9 no seletor, da mais recente para a mais antiga. Todas contêm os exemplos atuais; a versão do pacote é 0.0.
|
|
38
|
+
O scaffold inclui as versões 0.0.27, 0.0.26, 0.0.25, 0.0.24, 0.0.23, 0.0.22, 0.0.21, 0.0.20, 0.0.19, 0.0.18, 0.0.17, 0.0.16, 0.0.15, 0.0.14, 0.0.13, 0.0.12, 0.0.11, 0.0.10 e 0.0.9 no seletor, da mais recente para a mais antiga. Todas contêm os exemplos atuais; a versão do pacote é 0.0.27. Caminhos e rótulos de versão são gerados para a versão correspondente da documentação. Pastas existentes de versões anteriores não são apagadas.
|
|
39
39
|
|
|
40
|
-
Execute \`npx --yes @gitpagedocs/cli@0.0.
|
|
40
|
+
Execute \`npx --yes @gitpagedocs/cli@0.0.27 --no-interactive --owner SEU_USUARIO --repo SEU_REPOSITORIO\` em um diretório de projeto novo. Neste repositório de código-fonte, \`node cli/index.mjs\` executa a versão do checkout. A geração grava configuração e documentação; ela não inicia o visualizador Next.js.
|
|
41
41
|
|
|
42
42
|
O JSON completo abaixo é um exemplo mínimo de \`gitpagedocs/config.json\`. Em um site existente, mescle os campos relevantes e preserve a identidade do repositório, opções de publicação, temas e demais versões.
|
|
43
43
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = "0.0.
|
|
1
|
+
export const PACKAGE_VERSION = "0.0.27";
|
|
2
2
|
|
|
3
|
-
export const DOC_VERSIONS = [PACKAGE_VERSION, "0.0.25", "0.0.24", "0.0.23", "0.0.22", "0.0.21", "0.0.20", "0.0.19", "0.0.18", "0.0.17", "0.0.16", "0.0.15", "0.0.14", "0.0.13", "0.0.12", "0.0.11", "0.0.10", "0.0.9"];
|
|
3
|
+
export const DOC_VERSIONS = [PACKAGE_VERSION, "0.0.26", "0.0.25", "0.0.24", "0.0.23", "0.0.22", "0.0.21", "0.0.20", "0.0.19", "0.0.18", "0.0.17", "0.0.16", "0.0.15", "0.0.14", "0.0.13", "0.0.12", "0.0.11", "0.0.10", "0.0.9"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitpagedocs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "CLI that scaffolds and maintains gitpagedocs documentation, generates docs with AI, configures GitHub Pages, and runs the MCP server.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"gitpagedocs": "index.mjs"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@clack/prompts": "^1.5.1",
|
|
32
|
-
"@gitpagedocs/mcp": "^0.0.
|
|
33
|
-
"@gitpagedocs/tools": "^0.0.
|
|
32
|
+
"@gitpagedocs/mcp": "^0.0.27",
|
|
33
|
+
"@gitpagedocs/tools": "^0.0.27",
|
|
34
34
|
"tsx": "^4.21.0"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|