mirror of
https://github.com/umputun/reproxy.git
synced 2025-02-16 18:34:30 +02: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
|
WORKDIR /build
|
||||||
RUN mkdir -p /build/docs
|
RUN mkdir -p /build/docs
|
||||||
COPY README.md /build/docs/index.md
|
COPY README.md /build/docs/index.md
|
||||||
|
COPY site/styles.css /build/docs/stylesheets/extra.css
|
||||||
COPY site/ /build/
|
COPY site/ /build/
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
sed -i 's|^.*/workflows/ci.yml.*$||' /build/docs/index.md && \
|
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
|
sed -i 's|https://raw.githubusercontent.com/umputun/reproxy/master/site/logo-bg.svg|logo.png|' /build/docs/index.md
|
||||||
RUN mkdocs build
|
RUN mkdocs build
|
||||||
COPY site/favicon.svg /build/site/
|
COPY site/favicon.svg /build/site/
|
||||||
|
@ -23,6 +23,9 @@ theme:
|
|||||||
- content.code.annotate
|
- content.code.annotate
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
|
|
||||||
|
extra_css:
|
||||||
|
- stylesheets/extra.css
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
- minify:
|
- minify:
|
||||||
@ -73,3 +76,4 @@ markdown_extensions:
|
|||||||
- pymdownx.tasklist:
|
- pymdownx.tasklist:
|
||||||
custom_checkbox: true
|
custom_checkbox: true
|
||||||
- pymdownx.tilde
|
- pymdownx.tilde
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<style>
|
|
||||||
.md-typeset h1,
|
.md-typeset h1,
|
||||||
.md-content__button {
|
.md-content__button {
|
||||||
display: none;
|
display: none;
|
||||||
@ -6,4 +5,3 @@
|
|||||||
.md-header__topic {
|
.md-header__topic {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
|
Loading…
x
Reference in New Issue
Block a user