mirror of
https://github.com/umputun/reproxy.git
synced 2024-08-16 20:20:45 +03:00
use extra_css for site styles
This commit is contained in:
parent
77d82d9a0f
commit
45d699ef80
@ -3,11 +3,11 @@ 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 && \
|
||||
cat /build/styles.html >> /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 mkdocs build
|
||||
COPY site/favicon.svg /build/site/
|
||||
|
@ -23,6 +23,9 @@ theme:
|
||||
- content.code.annotate
|
||||
- navigation.sections
|
||||
|
||||
extra_css:
|
||||
- stylesheets/extra.css
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- minify:
|
||||
@ -72,4 +75,5 @@ markdown_extensions:
|
||||
alternate_style: true
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
- pymdownx.tilde
|
||||
- pymdownx.tilde
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
<style>
|
||||
.md-typeset h1,
|
||||
.md-content__button {
|
||||
display: none;
|
||||
@ -6,4 +5,3 @@
|
||||
.md-header__topic {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user