Skip to content

Commit

Permalink
Change version to 2.11.0 (openebs#158)
Browse files Browse the repository at this point in the history
Signed-off-by: isamrish <askmaurya48@gmail.com>

This commit will also
- make image to full-width in overview page
  • Loading branch information
isamrish authored Jul 12, 2021
1 parent 55c11bc commit 10b459c
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 18 deletions.
10 changes: 10 additions & 0 deletions docs/i18n/en/docusaurus-plugin-content-docs/version-2.11.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version.label": {
"message": "2.11.0",
"description": "The label for version 2.11.0"
},
"sidebar.docs.category.Introduction": {
"message": "Introduction",
"description": "The label for category Introduction in sidebar docs"
}
}
22 changes: 12 additions & 10 deletions docs/src/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,22 @@
--color-tealish-blue: #{$blue-400};
}

.markdown{
.markdown {
.docusaurus-highlight-code-line {
background-color: $highlight-bg;
display: block;
margin: 0 calc(-1 * #{$ifm-pre-padding});
padding: 0 $ifm-pre-padding;
}


p > img {
width: 100%;
}

//code block
.language-shell {
font-family: $code-block-font-family;
> div {
font-family: $code-block-font-family;
> div {
background-color: $blue-500 !important;
}
* {
Expand Down Expand Up @@ -118,7 +122,6 @@
}
}


//main wrapper
@media (min-width: 997px) and (max-width: 1320px) {
.main-wrapper .docItemWrapper_src-theme-DocPage- {
Expand Down Expand Up @@ -280,7 +283,7 @@ footer.footer {

.footer__link-item {
font-size: 1rem;
&:hover{
&:hover {
color: inherit;
}
}
Expand Down Expand Up @@ -316,13 +319,12 @@ footer.footer {
-ms-transform: rotate(-180deg);
-webkit-transform: scale(-180deg);
border-radius: 50%;
svg{
svg {
transform: rotate(180deg) scale(1.25);
-ms-transform: rotate(180deg) scale(1.25);
-webkit-transform: rotate(180deg) scale(1.25);
}
}

}

// containers
Expand Down Expand Up @@ -354,7 +356,7 @@ footer.footer {
border-radius: 4px;
}
}
.markdown{
.markdown {
h1 {
padding-bottom: 0;
}
Expand Down Expand Up @@ -423,7 +425,7 @@ footer.footer {
.docSearchInput {
width: 100% !important;
}
.markdown{
.markdown {
.copyButton {
background: $light-black !important;
padding: 5px !important;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-3.0.0/docs": [
"version-2.11.0/docs": [
{
"collapsed": true,
"type": "category",
Expand All @@ -10,32 +10,32 @@
"items": [
{
"type": "doc",
"id": "version-3.0.0/introduction/overview",
"id": "version-2.11.0/introduction/overview",
"label": "Overview"
},
{
"type": "doc",
"id": "version-3.0.0/introduction/features",
"id": "version-2.11.0/introduction/features",
"label": "Features and benefits"
},
{
"type": "doc",
"id": "version-3.0.0/introduction/alphafeatures",
"id": "version-2.11.0/introduction/alphafeatures",
"label": "Alpha features"
},
{
"type": "doc",
"id": "version-3.0.0/introduction/usecases",
"id": "version-2.11.0/introduction/usecases",
"label": "Use cases"
},
{
"type": "doc",
"id": "version-3.0.0/introduction/releases",
"id": "version-2.11.0/introduction/releases",
"label": "Releases"
},
{
"type": "doc",
"id": "version-3.0.0/introduction/support",
"id": "version-2.11.0/introduction/support",
"label": "Support"
}
]
Expand Down
2 changes: 1 addition & 1 deletion docs/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[
"3.0.0"
"2.11.0"
]

0 comments on commit 10b459c

Please sign in to comment.