Skip to content

Commit 1288be9

Browse files
ericdallobrotzeit
authored andcommitted
Add webpage
1 parent 0caa0af commit 1288be9

File tree

5 files changed

+75
-1
lines changed

5 files changed

+75
-1
lines changed

Diff for: .github/workflows/docs.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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: MkDocs
14+
run: |
15+
cp -rf README.md images docs
16+
docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material -- build
17+
18+
- name: Deploy
19+
uses: peaceiris/actions-gh-pages@v3
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: ./site

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# lsp-ui
1+
lsp-ui
2+
======
23

34
[![MELPA](https://melpa.org/packages/lsp-ui-badge.svg)](https://melpa.org/#/lsp-ui)
45
[![Join the chat](https://badges.gitter.im/emacs-lsp/lsp-ui.svg)](https://gitter.im/emacs-lsp/lsp-ui)

Diff for: docs/stylesheets/extra.css

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

Diff for: images/logo.png

32.6 KB
Loading

Diff for: mkdocs.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
site_name: LSP UI
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/lsp-mode
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-ui
23+
repo_url: https://github.com/emacs-lsp/lsp-ui
24+
25+
markdown_extensions:
26+
- pymdownx.superfences
27+
- codehilite
28+
- toc:
29+
permalink: '#'
30+
31+
plugins:
32+
- search
33+
- awesome-pages
34+
- git-revision-date-localized

0 commit comments

Comments
 (0)