Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit dcea20c

Browse files
committed
Add webpage
1 parent 109bc24 commit dcea20c

File tree

4 files changed

+81
-0
lines changed

4 files changed

+81
-0
lines changed

.github/workflows/docs.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
13+
- name: README.org -> README.md
14+
uses: docker://pandoc/core:2.9
15+
with:
16+
args: -s README.org -t gfm -o docs/README.md
17+
18+
- name: MkDocs
19+
run: |
20+
cp -rf README.md images docs
21+
docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material -- build
22+
23+
- name: Deploy
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./site

docs/stylesheets/extra.css

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:root {
2+
--md-primary-fg-color: #234C6D;
3+
--md-accent-fg-color: #F7DD73;
4+
--md-default-fg-color--light: #3776AB;
5+
}
6+
7+
.md-footer {
8+
--md-default-fg-color: #234C6D;
9+
}
10+
11+
.md-grid {
12+
max-width: 70rem;
13+
}
14+
15+
.md-typeset a {
16+
color: #3776AB;
17+
}

images/logo.png

21.9 KB
Loading

mkdocs.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
site_name: LSP Python MS
2+
3+
extra_css:
4+
- stylesheets/extra.css
5+
6+
theme:
7+
name: material
8+
logo: images/logo.png
9+
favicon: images/logo.png
10+
icon:
11+
repo: fontawesome/brands/github
12+
13+
extra:
14+
social:
15+
- icon: fontawesome/brands/github-alt
16+
link: https://github.com/emacs-lsp
17+
- icon: fontawesome/brands/twitter
18+
link: https://twitter.com/yonchovski
19+
- icon: fontawesome/brands/gitter
20+
link: https://gitter.im/emacs-lsp/lsp-mode
21+
22+
repo_name: emacs-lsp/lsp-python-ms
23+
repo_url: https://github.com/emacs-lsp/lsp-python-ms
24+
25+
markdown_extensions:
26+
- pymdownx.superfences
27+
- pymdownx.emoji:
28+
emoji_index: !!python/name:materialx.emoji.twemoji
29+
emoji_generator: !!python/name:materialx.emoji.to_svg
30+
- codehilite
31+
- toc:
32+
permalink: '#'
33+
34+
plugins:
35+
- search
36+
- awesome-pages
37+
- git-revision-date-localized

0 commit comments

Comments
 (0)