Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Fix broken links error on v1.0.0 #780

Merged
merged 1 commit into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/jiva.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The following content is directly taken from Rancher's LongHorn [announcement do

------

Jiva replicas are built using Linux sparse files, which support thin provisioning. Jiva does not maintain additional metadata to indicate which blocks are used. The block size is 4K. When you take a snapshot, you create a differencing disk. As the number of snapshots grows, the differencing disk chain could get quite long. To improve read performance, Jiva, therefore, maintains a read index that records which differencing disk holds valid data for each 4K block. In the following figure, the volume has eight blocks. The read index has eight entries and is filled up lazily as read operation takes place. A write operation resets the read index, causing it to point to the live data. ![Longhorn read index](/docs/assets/Longhorn-blog-latest.png)
Jiva replicas are built using Linux sparse files, which support thin provisioning. Jiva does not maintain additional metadata to indicate which blocks are used. The block size is 4K. When you take a snapshot, you create a differencing disk. As the number of snapshots grows, the differencing disk chain could get quite long. To improve read performance, Jiva, therefore, maintains a read index that records which differencing disk holds valid data for each 4K block. In the following figure, the volume has eight blocks. The read index has eight entries and is filled up lazily as read operation takes place. A write operation resets the read index, causing it to point to the live data. ![Longhorn read index](/docs/assets/Longhorn_blog.png)



Expand Down
5 changes: 1 addition & 4 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ const siteConfig = {
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/code-blocks-buttons.js',
],
separateCss: [
'static/css/code-blocks',
],
]
};

module.exports = siteConfig;
41 changes: 0 additions & 41 deletions website/static/css/code-blocks/code-blocks-buttons.css

This file was deleted.

46 changes: 45 additions & 1 deletion website/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ body{

/* Body */
body {
color : ##262B3E;
color : #262B3E;
background: #fff;
}
h1, h2, h3, h4 {
Expand Down Expand Up @@ -402,3 +402,47 @@ redoc .operation-type {
background-color: #FEF0EB;
border-radius: 15px;
}


/* CSS of "Copy" code block button on the docs */
pre {
position: relative;
}

pre .btnIcon {
position: absolute;
top: 4px;
z-index: 2;
cursor: pointer;
border: 1px solid transparent;
color: #383030;
background-color: #f5f4f7;
height: 30px;
transition: all .25s ease-out;
}

pre .btnIcon:hover {
text-decoration: none;
background-color: #fff;
}

.btnIcon__body {
align-items: center;
display: flex;
}

.btnIcon svg {
fill: currentColor;
margin-right: .4em;
}

.btnIcon__label {
font-size: 11px;
}

.btnClipboard {
right: 1px;
border-radius: 4px;
padding: 0 8px;
}