PG-364 Aligned docs structure with main

Changed the GH action to buid a separate doc version, 1.0.x stable, from REL1_0_0 branch
This commit is contained in:
Anastasia Alexadrova
2022-03-30 21:25:32 +03:00
parent 713f6f13f4
commit c5dd547619
9 changed files with 554 additions and 4 deletions

16
docs/css/percona.css Normal file
View File

@@ -0,0 +1,16 @@
[data-md-color-scheme="percona-light"] {
--md-primary-fg-color: #e97e03;
--md-primary-fg-color--light: #ECB7B7;
--md-primary-fg-color--dark: #90030C;
}
[data-md-color-scheme="slate"] {
--md-primary-fg-color: #e97e03;
/*
--md-primary-fg-color--light: #ECB7B7;
--md-primary-fg-color--dark: #90030C;
*/
--md-hue: 210; /* [0, 360] */
}
ul li p {
margin: 0;
}

48
docs/css/toctree.css Normal file
View File

@@ -0,0 +1,48 @@
.sphinxsidebarwrapper {
padding-right: 0 !important;
}
/* Turns off bullets within toctree */
.sphinxsidebarwrapper ul {
list-style: none;
}
.sphinxsidebarwrapper>ul {
padding-left: 0;
}
.sphinxsidebarwrapper>ul>li {
padding: 0 0 10px 0;
margin: 0;
}
.custom-button {
cursor: pointer;
display: inline-flex;
justify-content: center;
align-items: center;
width: 10px;
margin-right: 5px;
margin-bottom: 0;
font-size: 18px;
font-weight: 400;
border: none;
background-color: transparent;
outline: none;
}
.custom-button~ul {
display: none;
}
.custom-button--main-active {
background-color: #e3e3e3
}
.custom-button.custom-button--active~ul {
display: block;
}
.custom-button:before {
content: '+';
}
.custom-button.custom-button--active:before {
content: '-';
}