From 681e4877043d65b146d48d8fbc00d9e4133802e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Sun, 15 Nov 2020 15:15:49 +0100 Subject: [PATCH 1/4] Add Mobizel Markdown docs bundle --- .../0.1/config/mobizel_markdown_docs.yaml | 2 ++ mobizel/markdown-docs-bundle/0.1/manifest.json | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 mobizel/markdown-docs-bundle/0.1/config/mobizel_markdown_docs.yaml create mode 100644 mobizel/markdown-docs-bundle/0.1/manifest.json diff --git a/mobizel/markdown-docs-bundle/0.1/config/mobizel_markdown_docs.yaml b/mobizel/markdown-docs-bundle/0.1/config/mobizel_markdown_docs.yaml new file mode 100644 index 00000000..0b80900a --- /dev/null +++ b/mobizel/markdown-docs-bundle/0.1/config/mobizel_markdown_docs.yaml @@ -0,0 +1,2 @@ +mobizel_markdown_docs: + docs_dir: '%kernel.project_dir%/docs' diff --git a/mobizel/markdown-docs-bundle/0.1/manifest.json b/mobizel/markdown-docs-bundle/0.1/manifest.json new file mode 100644 index 00000000..6097ab4f --- /dev/null +++ b/mobizel/markdown-docs-bundle/0.1/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Mobizel\\Bundle\\MarkdownDocsBundle\\MobizelMarkdownDocsBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 933f10307bce5fcbd3f5e55b0603709486dd2395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 16 Nov 2020 08:56:44 +0100 Subject: [PATCH 2/4] Add routes --- .../0.1/config/routes/mobizel_markdown_docs.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml diff --git a/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml b/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml new file mode 100644 index 00000000..bb8598df --- /dev/null +++ b/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml @@ -0,0 +1,2 @@ +_mobizel_markdowns: + resource: '@MobizelMarkdownDocsBundle/Resources/config/routes.xml' From adce8cc0d0bf6496ed04d5df2df827cb3f85b4f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 16 Nov 2020 08:59:18 +0100 Subject: [PATCH 3/4] Add a prefix to routes --- .../0.1/config/routes/mobizel_markdown_docs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml b/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml index bb8598df..24557b38 100644 --- a/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml +++ b/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml @@ -1,2 +1,3 @@ _mobizel_markdowns: resource: '@MobizelMarkdownDocsBundle/Resources/config/routes.xml' + prefix: docs From aff0ab8fad4181c3cba207820cd5e2e90d131c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 16 Nov 2020 09:02:22 +0100 Subject: [PATCH 4/4] Add the first page for your documentation --- mobizel/markdown-docs-bundle/0.1/docs/index.md | 3 +++ mobizel/markdown-docs-bundle/0.1/manifest.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 mobizel/markdown-docs-bundle/0.1/docs/index.md diff --git a/mobizel/markdown-docs-bundle/0.1/docs/index.md b/mobizel/markdown-docs-bundle/0.1/docs/index.md new file mode 100644 index 00000000..ec29522f --- /dev/null +++ b/mobizel/markdown-docs-bundle/0.1/docs/index.md @@ -0,0 +1,3 @@ +# Documentation + +Your documentation is now ready and you can start working on it. diff --git a/mobizel/markdown-docs-bundle/0.1/manifest.json b/mobizel/markdown-docs-bundle/0.1/manifest.json index 6097ab4f..7b3e4dd0 100644 --- a/mobizel/markdown-docs-bundle/0.1/manifest.json +++ b/mobizel/markdown-docs-bundle/0.1/manifest.json @@ -3,6 +3,7 @@ "Mobizel\\Bundle\\MarkdownDocsBundle\\MobizelMarkdownDocsBundle": ["all"] }, "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" + "config/": "%CONFIG_DIR%/", + "docs/": "docs/" } }