mirror of
https://github.com/umputun/reproxy.git
synced 2024-08-16 20:20:45 +03:00
simplify site configuration
This commit is contained in:
parent
45d699ef80
commit
0af7807e36
@ -1,15 +1,13 @@
|
||||
FROM --platform=$BUILDPLATFORM squidfunk/mkdocs-material as build
|
||||
|
||||
WORKDIR /build
|
||||
RUN mkdir -p /build/docs
|
||||
COPY README.md /build/docs/index.md
|
||||
COPY site/styles.css /build/docs/stylesheets/extra.css
|
||||
COPY site/ /build/
|
||||
|
||||
RUN \
|
||||
sed -i 's|^.*/workflows/ci.yml.*$||' /build/docs/index.md && \
|
||||
sed -i 's|https://raw.githubusercontent.com/umputun/reproxy/master/site/logo-bg.svg|logo.png|' /build/docs/index.md
|
||||
RUN sed -i 's|^.*/workflows/ci.yml.*$||' /build/docs/index.md
|
||||
RUN mkdocs build
|
||||
|
||||
COPY site/favicon.svg /build/site/
|
||||
COPY site/logo.png /build/site/
|
||||
|
||||
|
@ -30,6 +30,9 @@ plugins:
|
||||
- search
|
||||
- minify:
|
||||
minify_html: true
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
https://raw.githubusercontent.com/umputun/reproxy/master/site/logo-bg.svg: logo.svg
|
||||
|
||||
extra:
|
||||
generator: true
|
||||
@ -42,6 +45,8 @@ extra:
|
||||
link: https://twitter.com/umputun
|
||||
|
||||
markdown_extensions:
|
||||
- smarty
|
||||
- sane_lists
|
||||
- abbr
|
||||
- admonition
|
||||
- attr_list
|
||||
@ -77,3 +82,5 @@ markdown_extensions:
|
||||
custom_checkbox: true
|
||||
- pymdownx.tilde
|
||||
|
||||
nav:
|
||||
- Reproxy: index.md
|
@ -2,6 +2,7 @@
|
||||
.md-content__button {
|
||||
display: none;
|
||||
}
|
||||
.md-header__topic {
|
||||
.md-nav__title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user