mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
simplify site configuration
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user