From 53ce388929415dd449e81b28a482b47617a05a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Br=C3=BCckner?= Date: Sat, 13 Jan 2024 12:43:17 +0100 Subject: [PATCH 1/3] Adds missing installation page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- docs/book/installation.md | 5 +++++ mkdocs.yml | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 docs/book/installation.md diff --git a/docs/book/installation.md b/docs/book/installation.md new file mode 100644 index 0000000..be1198c --- /dev/null +++ b/docs/book/installation.md @@ -0,0 +1,5 @@ +# This Is Only a Placeholder + +The content of this page can be found under: + +https://github.com/laminas/documentation-theme/blob/master/theme/pages/installation.html diff --git a/mkdocs.yml b/mkdocs.yml index 1be2e87..57bdf53 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,6 +3,7 @@ site_dir: docs/html nav: - Home: index.md - Introduction: intro.md + - Installation: installation.md - Usage: - "Session Containers": session.md - "Session Persistence": persistence.md @@ -12,3 +13,5 @@ site_description: 'Sessions and session middleware for PSR-7 applications.' repo_url: 'https://github.com/mezzio/mezzio-session' extra: project: Mezzio + installation: + config_provider_class: 'Mezzio\Session\ConfigProvider' From d15af703ffdfa8374308ba55f9f02a3e6812ec0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Br=C3=BCckner?= Date: Sat, 13 Jan 2024 12:43:53 +0100 Subject: [PATCH 2/3] Removes unneeded index.html from docs folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- docs/book/index.html | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 docs/book/index.html diff --git a/docs/book/index.html b/docs/book/index.html deleted file mode 100644 index 66a9424..0000000 --- a/docs/book/index.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-

mezzio/mezzio-session

- -

Session container and middleware PSR-7 and Mezzio applications.

- -
$ composer require mezzio/mezzio-session
-
-
From 554bad4111bd0937a03dece597d1771b59aee02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Br=C3=BCckner?= Date: Sat, 13 Jan 2024 12:44:06 +0100 Subject: [PATCH 3/3] Updates GitHub workflow for documentation build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- .github/workflows/docs-build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 2444742..d1100ff 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -3,8 +3,7 @@ name: docs-build on: release: types: [published] - repository_dispatch: - types: docs-build + workflow_dispatch: jobs: build-deploy: @@ -13,5 +12,5 @@ jobs: - name: Build Docs uses: laminas/documentation-theme/github-actions/docs@master env: - "DOCS_DEPLOY_KEY": ${{ secrets.DOCS_DEPLOY_KEY }} - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + DEPLOY_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}