Skip to content

Commit 70352ef

Browse files
committed
Add webpage
1 parent e3cb2be commit 70352ef

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

.github/workflows/docs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- 'resources/ECA_VERSION'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Generate docs
18+
run: |
19+
cp -rf CHANGELOG.md README.md images docs
20+
docker login docker.pkg.github.com --username $GITHUB_ACTOR --password ${{ secrets.GITHUB_TOKEN }}
21+
docker run --rm -v ${PWD}:/docs docker.pkg.github.com/clojure-lsp/docs-image/docs-image -- build
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./site

mkdocs.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
site_name: ECA - Editor Code Assistant
2+
site_description: ECA - AI pair programming capabilities in any editor
3+
site_url: https://eca.dev
4+
5+
repo_name: editor-code-assistant/eca
6+
repo_url: https://github.com/editor-code-assistant/eca
7+
8+
nav:
9+
- Home:
10+
- Overview: README.md
11+
- Configuration: configuration.md
12+
- Development: development.md
13+
- Capabilities: capabilities.md
14+
- Protocol: protocol.md
15+
- Features: features.md
16+
- Installation: installation.md
17+
- Support Us: https://github.com/sponsors/ericdallo
18+
- Changelog: CHANGELOG.md
19+
20+
theme:
21+
name: material
22+
logo: images/logo.png
23+
favicon: images/logo.png
24+
icon:
25+
repo: fontawesome/brands/github
26+
features:
27+
- navigation.tabs
28+
29+
extra:
30+
social:
31+
- icon: fontawesome/brands/github-alt
32+
link: https://github.com/editor-code-assistant/eca
33+
34+
extra_css:
35+
- stylesheets/layout.css
36+
37+
markdown_extensions:
38+
- pymdownx.superfences
39+
- codehilite
40+
- meta
41+
- toc:
42+
permalink: '#'
43+
- pymdownx.emoji:
44+
emoji_index: !!python/name:materialx.emoji.twemoji
45+
emoji_generator: !!python/name:materialx.emoji.to_svg
46+
47+
plugins:
48+
- search
49+
- awesome-pages
50+
- git-revision-date-localized
51+
52+
google_analytics:
53+
- auto

0 commit comments

Comments
 (0)