Skip to content

Commit cf51204

Browse files
import docs from backslashphp/docs
1 parent f5e7fb0 commit cf51204

File tree

285 files changed

+18160
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+18160
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Deploy Hugo site to Pages
2+
3+
on:
4+
push:
5+
branches: ["2.x"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
defaults:
18+
run:
19+
shell: bash
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
env:
25+
HUGO_VERSION: 0.146.7
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
submodules: recursive
31+
32+
- name: Install Hugo CLI
33+
run: |
34+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
35+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
36+
37+
- name: Build with Hugo
38+
env:
39+
HUGO_ENVIRONMENT: production
40+
HUGO_ENV: production
41+
run: hugo --source ./docs --minify
42+
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
45+
with:
46+
path: ./docs/public
47+
48+
deploy:
49+
environment:
50+
name: github-pages
51+
url: ${{ steps.deployment.outputs.page_url }}
52+
runs-on: ubuntu-latest
53+
needs: build
54+
steps:
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@v4

docs/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/public/
2+
/resources/
3+
.hugo_build.lock

docs/.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/book"]
2+
path = themes/book
3+
url = https://github.com/alex-shpak/hugo-book

docs/content/_index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Backslash PHP Developer Guide"
3+
type: docs
4+
---
5+
6+
![](/backslashphp-logo.svg)
7+
8+
# Backslash PHP Developer Guide
9+
10+
Modern PHP library for building event-sourced applications with CQRS. Fully compliant with
11+
the Dynamic Consistency Boundary [specification](https://dcb.events/specification/).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Application Setup"
3+
weight: 6
4+
bookFlatSection: true
5+
---

0 commit comments

Comments
 (0)