Skip to content

Commit

Permalink
🎨 Refactor: docs
Browse files Browse the repository at this point in the history
Signed-off-by: bitliu <[email protected]>
  • Loading branch information
Xunzhuo committed Oct 8, 2023
1 parent 1e73685 commit 95bb2e6
Show file tree
Hide file tree
Showing 347 changed files with 2,140 additions and 2,458 deletions.
51 changes: 29 additions & 22 deletions .github/workflows/docs.yaml → .github/workflows/hugo-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,52 @@
name: Docs
name: Hugo Docs
on:
push:
branches:
- "main"
- "main"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.png"
pull_request:
branches:
- "main"
- "main"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.png"

jobs:
docs-lint:
runs-on: ubuntu-22.04
docs-build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Git checkout

Check failure on line 22 in .github/workflows/hugo-docs.yaml

View workflow job for this annotation

GitHub Actions / lint

22:7 [indentation] wrong indentation: expected 4 but found 6

Check failure on line 22 in .github/workflows/hugo-docs.yaml

View workflow job for this annotation

GitHub Actions / lint

22:7 [indentation] wrong indentation: expected 4 but found 6

Check failure on line 22 in .github/workflows/hugo-docs.yaml

View workflow job for this annotation

GitHub Actions / lint

22:7 [indentation] wrong indentation: expected 4 but found 6
uses: actions/checkout@v3
with:
submodules: true

- name: Run markdown linter
uses: nosborn/[email protected]
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
files: docs/*
config_file: ".github/markdown_lint_config.json"
hugo-version: 'latest'
extended: true

docs-build:
runs-on: ubuntu-latest
needs: docs-lint
steps:
- uses: actions/checkout@v4
- uses: ./tools/github-actions/setup-deps
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install Site Dependencies
run: cd site && npm install

- name: Generate EG Pages
run: make docs
- name: Build Site
run: cd site && npm run build:production

# Upload docs for GitHub Pages
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
# Path of the directory containing the static assets.
path: docs/html
path: site/public
# Duration after which artifact will expire in days.
# retention-days: # optional, default is 1

Expand Down
5 changes: 4 additions & 1 deletion GOALS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Goals
---
title: "Goals"
---


The high-level goal of the Envoy Gateway project is to attract more users to Envoy by lowering barriers to adoption
through expressive, extensible, role-oriented APIs that support a multitude of ingress and L7/L4 traffic routing
Expand Down
5 changes: 0 additions & 5 deletions docs/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions docs/latest/about_docs.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/latest/api_docs.rst

This file was deleted.

43 changes: 0 additions & 43 deletions docs/latest/conf.py

This file was deleted.

20 changes: 0 additions & 20 deletions docs/latest/design_docs.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/latest/dev_docs.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/latest/get_involved.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/latest/helm.rst

This file was deleted.

35 changes: 0 additions & 35 deletions docs/latest/index.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/latest/intro/compatibility.rst

This file was deleted.

13 changes: 0 additions & 13 deletions docs/latest/releases.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/latest/releases/README.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/latest/releases/v0.2.md

This file was deleted.

Loading

0 comments on commit 95bb2e6

Please sign in to comment.