Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
ad08252
OnlineDDL: auto-retry after tablet failure
shlomi-noach Oct 22, 2020
7bf8d17
Modified mac setup docs
GuptaManan100 Oct 22, 2020
058525f
Update region-sharding.md shell script 201 path
frouioui Oct 22, 2020
f62ac91
adding in my google auth
hallaroo Oct 22, 2020
010b28b
Merge pull request #572 from GuptaManan100/mac-setup
systay Oct 23, 2020
d2043cd
Vitess 8 announcement blog
askdba Oct 23, 2020
29f5773
updating query log info and table formatting (#568)
hallaroo Oct 23, 2020
1a2e67d
Merge pull request #574 from vitessio/mp-google-auth
hallaroo Oct 23, 2020
b7798c3
Heading mod.
askdba Oct 25, 2020
0e4893a
formatting
deepthi Oct 26, 2020
d0cf87b
punctuation
deepthi Oct 26, 2020
a18ec5f
Merge pull request #575 from vitessio/askdba-8.0-announce
deepthi Oct 26, 2020
2f77ad9
Merge pull request #573 from frouioui/patch-1
deepthi Oct 26, 2020
492199d
Break out supported frameworks by language/type
skottler Oct 26, 2020
571806f
s/rustx/sqlx
Oct 26, 2020
179a97a
Merge pull request #577 from skottler/list-by-language
deepthi Oct 26, 2020
56c99d3
default sitemap
hallaroo Oct 26, 2020
ffbaff9
fixing broken links
hallaroo Oct 27, 2020
282fb4b
fixing broken links
hallaroo Oct 27, 2020
b9dad06
fixing broken links
hallaroo Oct 27, 2020
79617b4
marking chinese docs as old and fixing last links
hallaroo Oct 28, 2020
dd0b4b3
marking chinese docs out of date
hallaroo Oct 28, 2020
eae2444
broke the preview
hallaroo Oct 28, 2020
cb0a07a
aliases made per user guide page
hallaroo Oct 28, 2020
6e1437f
misformatted one
hallaroo Oct 28, 2020
8534f40
missed and s =(
hallaroo Oct 28, 2020
df44e73
7.0 docs pdf
hallaroo Oct 28, 2020
4b192b4
fixing links once more
hallaroo Oct 29, 2020
efb0eca
Merge pull request #580 from vitessio/mp-broken-links
hallaroo Oct 29, 2020
be35de7
adjusting toml file
hallaroo Oct 29, 2020
eb09d1b
Merge pull request #579 from vitessio/mp-sitemap
hallaroo Oct 29, 2020
8384385
more broken links and reorging the troubleshooting section
hallaroo Oct 30, 2020
c671175
made too many folder fixing
hallaroo Oct 30, 2020
40c3c30
removing 7.0 specific docs
hallaroo Oct 30, 2020
175809b
Merge pull request #581 from vitessio/mp-70-pdf
deepthi Oct 30, 2020
d8b3367
formatting links
hallaroo Oct 30, 2020
1e4be2d
Merge pull request #582 from vitessio/mp-small-fixes
hallaroo Oct 30, 2020
a307dae
Add VReplication to hardcoded sections aliased to Reference
rohit-nayak-ps Nov 1, 2020
5f75713
add explicit sequencing
rohit-nayak-ps Nov 1, 2020
cd38060
specify height/width of the navbar logo explicitly to avoid navbar ju…
rohit-nayak-ps Nov 1, 2020
6e65b36
url to loc tag
hallaroo Nov 4, 2020
21d0f28
Merge pull request #584 from vitessio/mp-noindex-fix
hallaroo Nov 4, 2020
7d30a52
addressing two issues
hallaroo Nov 4, 2020
ec2fd4a
adjusting link formatting
hallaroo Nov 4, 2020
e87cc7d
Merge pull request #585 from vitessio/mp-legacy-scripts
hallaroo Nov 4, 2020
35e84bc
Blog by Bolt , cross publishing
askdba Nov 5, 2020
831971b
Modify image references
askdba Nov 5, 2020
6b32e39
Modify double title issue
askdba Nov 5, 2020
4c812e5
fixing broken links
hallaroo Nov 5, 2020
b4be23d
Merge pull request #583 from vitessio/rn-fix-vreplication-navigation
deepthi Nov 5, 2020
c0942b8
fixing formatting
hallaroo Nov 5, 2020
c4c450c
fixing links
hallaroo Nov 5, 2020
b79d279
Merge pull request #588 from vitessio/mp-broken-link
deepthi Nov 5, 2020
649aa37
Previous post link added
askdba Nov 6, 2020
97c212b
EOL after image needed
askdba Nov 6, 2020
3b932d1
adding in a enabled robots.txt
hallaroo Nov 6, 2020
ea78181
Merge pull request #590 from vitessio/mp-robots
hallaroo Nov 6, 2020
7599e0e
need to link sitemap and robots as was getting errors
hallaroo Nov 6, 2020
e8a0f23
Merge pull request #591 from vitessio/mp-sitemap-robots
hallaroo Nov 6, 2020
9cb14c5
Merge pull request #571 from vitessio/online-ddl-retry-tablet-failure
shlomi-noach Nov 8, 2020
46e26ea
New PR for operator blog
askdba Nov 9, 2020
821b844
max-width for blog and media
shlomi-noach Nov 9, 2020
23e7990
Merge pull request #586 from vitessio/blog_bolt
askdba Nov 9, 2020
01b3429
Change wording in intro to explore and remove newly announced
askdba Nov 10, 2020
5a28ecd
Merge pull request #592 from vitessio/blog_vt_operator
askdba Nov 10, 2020
237a6d9
vttablet: document new shutdown_grace_period
sougou Nov 12, 2020
c1f8498
Merge pull request #593 from planetscale/ss-update-vttablet
harshit-gangal Nov 13, 2020
782f944
Adding default Hugo RSS layout
nate-double-u Nov 20, 2020
0bc4f33
Adding category element to rss feed layout.
nate-double-u Nov 20, 2020
02889ab
Merge pull request #595 from nate-double-u/rss-feed-blog
askdba Nov 23, 2020
6e6af1f
adding redirect from /blog/rss to /blog/index.xml
nate-double-u Nov 23, 2020
e8f2991
Merge pull request #596 from nate-double-u/map-blog-rss
shlomi-noach Nov 24, 2020
987fbf8
Online DDL: removal of 'ALTER WITH...' syntax, introducing 'ddl_strat…
shlomi-noach Nov 24, 2020
300a408
Merge pull request #598 from vitessio/online-ddl-strategy
shlomi-noach Nov 25, 2020
4df1f61
Update contributers guide with reference to PR Template
askdba Nov 26, 2020
d77d0a2
Merge pull request #599 from vitessio/contributers_guide
deepthi Nov 26, 2020
d145d55
Use 'property' instead of 'name' for meOpen Graph meta tags
doeg Nov 26, 2020
d3bc863
Add descriptions for Vitess 7 + 8 announcement posts
doeg Nov 26, 2020
07d4066
Merge pull request #600 from vitessio/doeg-534-meta-tags
deepthi Nov 27, 2020
38a8bec
vschema: add more details to vschema section
sougou Nov 27, 2020
9e1e116
blog: custom sharding: fix link and messaging
sougou Nov 28, 2020
124a01d
Upgrade to Hugo v0.78.2
doeg Nov 28, 2020
98d8266
Show doc search on all routes
doeg Nov 28, 2020
bb17003
Search + nav fixes for mobile
doeg Nov 28, 2020
17e1421
Fix... typo?
doeg Nov 28, 2020
994b63a
vschema: address review comments
sougou Nov 28, 2020
6f06109
Merge pull request #606 from planetscale/ss-vschema
sougou Nov 28, 2020
ee89382
Merge pull request #609 from vitessio/sarabee-search-bar
askdba Nov 29, 2020
1d6b7b5
Set explicit height for mobile navbar logo
doeg Nov 29, 2020
d701067
Fix mobile navbar scroll bug by setting flex-direction on desktop
doeg Nov 29, 2020
03c87a9
Fix clipping in search widget on mobile (agaaaaain)
doeg Nov 29, 2020
1173d6e
Add breadcrumb navigation to docs
doeg Nov 29, 2020
f34a7a4
Merge pull request #607 from planetscale/ss-blog-fix
deepthi Nov 29, 2020
e28de35
Merge pull request #611 from vitessio/sarabee-mobile-nav-fixes
deepthi Nov 29, 2020
771dd11
Merge pull request #612 from vitessio/sarabee-breadcrumbs
deepthi Nov 29, 2020
ae8d438
Fix overflow on docs sidebar
doeg Nov 29, 2020
811fd94
Don't show table of contents on section pages
doeg Nov 29, 2020
a04837c
Merge pull request #608 from vitessio/sarabee-hugo-upgrade
deepthi Nov 29, 2020
75053c0
cp -r files in /usr/local/vitess (instead of mv)
jfg956 Nov 26, 2020
8f7b8ef
Make things easier by avoiding to have to figure-out how to download …
jfg956 Nov 26, 2020
9933a6e
Merge pull request #604 from jfg956/patch-2
deepthi Nov 30, 2020
a744701
Merge pull request #603 from jfg956/patch-1
deepthi Nov 30, 2020
b5ef7be
Kubecon NA blog post
deepthi Nov 30, 2020
f77b769
Add anchors to headings
doeg Nov 26, 2020
748afa0
Add opacity
doeg Nov 26, 2020
e3ac1ac
Tweak opacity and animation on header anchor links
doeg Nov 30, 2020
23fabdb
Remove the opacity transition from the anchor link
doeg Nov 30, 2020
3b95b52
Merge pull request #601 from vitessio/doeg-header-anchors
deepthi Nov 30, 2020
3726516
Merge pull request #614 from vitessio/sarabee-small-nav-fixes
deepthi Nov 30, 2020
7e23bfb
Final branch to publish
askdba Nov 30, 2020
0d245e4
Add images
askdba Nov 30, 2020
00cb798
Merge pull request #615 from vitessio/django_blog_final
deepthi Nov 30, 2020
cbd37df
Blog Fixes
askdba Nov 30, 2020
933426f
Formatting
deepthi Nov 30, 2020
12645d2
Merge pull request #616 from vitessio/django_blog_fixes
deepthi Nov 30, 2020
d17d969
Account for /docs navbar height with header anchor links
doeg Nov 30, 2020
67d1564
Merge pull request #617 from vitessio/sarabee-anchor-link-offsets
deepthi Dec 1, 2020
b7018fd
Only add anchor spacing pseudo-element to headings with IDs and class
doeg Dec 2, 2020
c49e563
fixing broken links
hallaroo Dec 2, 2020
998a423
Merge pull request #621 from vitessio/mp-fixing-links
hallaroo Dec 2, 2020
b9bf7d7
Merge pull request #620 from vitessio/sarabee-header-anchor-card-fix
deepthi Dec 3, 2020
cca72fc
Online DDL: vtctl OnlineDDL cancel-all
shlomi-noach Dec 3, 2020
640f164
Online DDL: support for CREATE and DROP statements
shlomi-noach Dec 3, 2020
a01de43
remove deleted vtctl commands and vtctld flag
deepthi Dec 4, 2020
d25cc0f
Merge pull request #627 from vitessio/ds-626
rohit-nayak-ps Dec 4, 2020
61c9d6e
Add Youtube links instead of schedule links to talks
askdba Dec 6, 2020
90c0788
Update docs navigation to handle hierarchies of any depth
doeg Dec 7, 2020
246618b
Merge pull request #631 from vitessio/kubeconNA19_youtubelinks
deepthi Dec 8, 2020
e9319cf
add screenshots and YT video links
deepthi Dec 8, 2020
8f123e8
fix links, captions, date and other minor edits
deepthi Dec 8, 2020
dada40a
shorten title
deepthi Dec 8, 2020
cc02093
more edits
deepthi Dec 8, 2020
c95f811
fixing pdfs and rearanging order of advanced configuration user guides
hallaroo Dec 8, 2020
52fbfa2
last reorder
hallaroo Dec 8, 2020
33217c0
adjusting wording
hallaroo Dec 8, 2020
7701d59
Merge pull request #632 from vitessio/mp-version-pdf
hallaroo Dec 8, 2020
39b5e01
Merge branch 'prod' into sarabee-infinite-nav
shlomi-noach Dec 9, 2020
0d731f3
Merge pull request #630 from vitessio/sarabee-infinite-nav
rohit-nayak-ps Dec 9, 2020
19afedc
Merge pull request #622 from vitessio/online-ddl-cancel-all
harshit-gangal Dec 10, 2020
0295d6e
Merge pull request #623 from vitessio/online-ddl-create-drop
shlomi-noach Dec 10, 2020
46de918
moving the faqs to FreshDesk
hallaroo Dec 10, 2020
bd0c990
no drop down
hallaroo Dec 10, 2020
01f9827
MoveTables: add examples of tableSpecs for sharded/unsharded
rohit-nayak-ps Dec 12, 2020
33f2479
Remove extra whitespace
rohit-nayak-ps Dec 12, 2020
7ec3658
Unify navbar partials and remove docs/navbar.html
doeg Dec 12, 2020
211e256
Merge pull request #635 from vitessio/rn-movetables-tablespecs
deepthi Dec 12, 2020
da286ea
Online DDL: document statement transformations
shlomi-noach Dec 13, 2020
6d2d1e7
Online DDL: -ddl_strategy=direct
shlomi-noach Dec 14, 2020
54be84c
double quotes for consistency
shlomi-noach Dec 14, 2020
0634c27
add twitter/github
deepthi Dec 15, 2020
57a0ac9
Merge pull request #637 from vitessio/sarabee-header-unification
deepthi Dec 15, 2020
1059828
Merge pull request #613 from vitessio/ds-kubecon-blog
askdba Dec 15, 2020
8d9adf4
making requested changes and updating FAQ
hallaroo Dec 15, 2020
24bac39
fixing typos
hallaroo Dec 15, 2020
ca80993
Merge pull request #638 from vitessio/online-ddl-normalized-queries
rohit-nayak-ps Dec 16, 2020
f0d7a89
adding in vitess.io videos
hallaroo Dec 16, 2020
94c7bdf
Merge pull request #634 from vitessio/mp-faqs
deepthi Dec 16, 2020
023754b
resizing of images
hallaroo Dec 16, 2020
1201c76
resizing of images
hallaroo Dec 16, 2020
82b89c9
resizing of images
hallaroo Dec 16, 2020
86b1625
resizing of images
hallaroo Dec 16, 2020
b4361e2
resizing of images
hallaroo Dec 16, 2020
fe288c0
Merge pull request #641 from vitessio/mp-image-change
deepthi Dec 16, 2020
1b8d9cf
vschmea user guide: initial files
sougou Dec 20, 2020
4dde294
Update overview.md
sougou Dec 20, 2020
e49c00c
Update unsharded.md
sougou Dec 20, 2020
66aa8ad
fix weights and typos
sougou Dec 20, 2020
09c0589
Finish unsharded vschema
sougou Dec 20, 2020
4c28e09
vschema user guide: Add Sharded Keyspace
sougou Dec 20, 2020
9754bff
VSchema user guide: sequences
sougou Dec 21, 2020
d4df994
adding weight and readding monitoring doc
hallaroo Dec 21, 2020
00737d9
Update code type.
jfg956 Dec 21, 2020
8a765fa
Add full path for ../common.
jfg956 Dec 21, 2020
33e17fc
Add helm, local and operator differentiation for insert_commerce_data.
jfg956 Dec 21, 2020
5321e83
Remove the pipe for the mysql execution.
jfg956 Dec 21, 2020
7b2f3d3
Do vschema_customer_sharded.json before create_customer_sharded.sql.
jfg956 Dec 21, 2020
c96837b
making requested changes
hallaroo Dec 22, 2020
363a4d4
VSchema User guide: shared vindexes
sougou Dec 22, 2020
6ad3451
QCon Presentation LInks
ramnar Dec 23, 2020
2be62ba
Merge pull request #647 from jfg956/patch-1
rohit-nayak-ps Dec 23, 2020
f17cee9
Merge pull request #649 from ramnar/patch-1
rohit-nayak-ps Dec 23, 2020
1ecfde5
Merge pull request #639 from vitessio/ddl-strategy-direct
shlomi-noach Dec 23, 2020
57edfc3
VSchema user guide: Unique lookup vindex
sougou Dec 24, 2020
26df9f7
VSchema user guide: non-unique lookup
sougou Dec 24, 2020
e3bcaa5
vschema user guide: lookup as primary vindex
sougou Dec 25, 2020
75c933a
vschema user guide: advanced topics
sougou Dec 25, 2020
c60c22e
vschema user guide: DDL constructs
sougou Dec 26, 2020
55ae44a
vschema user guide: pictures
sougou Dec 27, 2020
8f55a72
vschema user guide: sharding guidelines
sougou Dec 27, 2020
4d816cb
consolidating schema change documentation
hallaroo Dec 29, 2020
5b19a6a
stop crawling zh docs
hallaroo Dec 29, 2020
b2b3064
Merge pull request #653 from vitessio/mp-schema-change
hallaroo Dec 30, 2020
67e1566
Merge pull request #654 from vitessio/mp-robots
shlomi-noach Jan 3, 2021
b853647
updating to remove extra operator file
hallaroo Jan 4, 2021
143fa17
monthly broken link fixing
hallaroo Jan 5, 2021
643e993
removing broken images
hallaroo Jan 5, 2021
5859eca
vschema user guide: address review comments
sougou Jan 6, 2021
02def4f
Update build version to golang 1.15
dkhenry Jan 6, 2021
206458d
adding in context from vttablet modes (#658)
hallaroo Jan 6, 2021
0cafdbd
Merge pull request #660 from vitessio/dkhenry-build-1.15
deepthi Jan 7, 2021
c537487
Add clarifications for hosted MySQL services where
aquarapid Jan 7, 2021
2d4c251
Fixing two install files
dkhenry Jan 7, 2021
6f109c8
Documenting new Online DDL behavior for DROP TABLE
shlomi-noach Jan 7, 2021
e406182
explain how DROP TABLE uses the table lifecycle mechanism
shlomi-noach Jan 7, 2021
67dcd8b
Merge pull request #662 from vitessio/dk-fix-osx-version
rohit-nayak-ps Jan 7, 2021
0e6f2ae
Merge pull request #661 from vitessio/jg_super
rohit-nayak-ps Jan 7, 2021
5d0a9f0
Merge pull request #657 from vitessio/mp-broken-links
rohit-nayak-ps Jan 7, 2021
67a49e5
Merge pull request #644 from vitessio/mp-monitoring
rohit-nayak-ps Jan 7, 2021
20ec639
Merge pull request #646 from jfg956/jfg956-patch-2
hallaroo Jan 8, 2021
58c0b44
Merge pull request #656 from vitessio/mp-commerce-sql
hallaroo Jan 8, 2021
5c41a9a
vschema user guide: mention ExternalizeVindex
sougou Jan 9, 2021
793faa2
typos and grammer per review
shlomi-noach Jan 10, 2021
9e8e9b9
Merge pull request #663 from vitessio/online-ddl-drop-rename
rohit-nayak-ps Jan 10, 2021
5d84691
Merge pull request #643 from planetscale/ss-ug1-vschema
sougou Jan 12, 2021
a151629
adding clarifying note (#665)
hallaroo Jan 14, 2021
0e4afe9
added .bashrc and in trouble shoot added @@vitess_version
Akilan1999 Jan 15, 2021
f6de446
Merge pull request #668 from Akilan1999/prod
systay Jan 15, 2021
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ resources/
# Link checker
bin/
tmp/
.idea
.idea

# File generated when running npm install
package-lock.json
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ This repo houses the assets used to build the website at https://vitess.io.

## Running the site locally

To run the website locally, you need to have the [Hugo](https://gohugo.io) static site generator installed (installation instructions [here](https://gohugo.io/getting-started/installing/)). Once Hugo is installed run the following:
To run the website locally, you need to have the [Hugo](https://gohugo.io) static site generator installed (installation instructions [here](https://gohugo.io/getting-started/installing/)). Installing the Hugo version in [netlify.toml](./netlify.toml) is recommended.

Once Hugo is installed run the following:

```bash
hugo server --buildDrafts --buildFuture
Expand Down
224 changes: 111 additions & 113 deletions assets/sass/docs.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$docs-sidebar-logo-width: 30%
$docs-sidebar-margin: 1.75rem
$docs-sidebar-header-margin-bottom: 2rem
$tan: #f5993a

Expand All @@ -12,156 +11,156 @@ html, body
=h-center
justify-content: center

// Bit of a hacky full-width container override for the docs page,
// since bulma.io doesn't appear to have a helper for this.
.navbar-container-docs
max-width: 100%
padding: 0 8px 0 24px

.docs-wrapper
+flex
flex-direction: row
height: 100vh
height: calc(100vh - #{$navbar-height})
align-items: stretch

.docs-navbar
position: sticky
top: 0
.docs-navbar
position: sticky
top: 0

.docs-sidebar
+flex
+h-center
background-color: $dark
flex: 0 0 15%
border-right: 1px solid lighten($dark, 10%)
overflow: scroll
.docs-sidebar
+flex
+h-center
background-color: $dark
flex: 0 0 15%
border-right: 1px solid lighten($dark, 10%)
overflow: auto

.docs-menu
width: 100%
margin: $docs-sidebar-margin
.docs-menu
width: 100%
margin: 24px 0 24px 0

.docs-menu-header
margin-bottom: $docs-sidebar-header-margin-bottom
.docs-menu-header
margin-bottom: $docs-sidebar-header-margin-bottom

.docs-menu-logo
width: $docs-sidebar-logo-width
margin: 0 auto
display: block
.docs-menu-logo
margin: 0 auto
display: block

.docs-menu-bar
padding-bottom: 5rem
.docs-menu > .docs-navlist > li > a
font-size: 1.2rem

.docs-section
& + .docs-section
margin-top: .75rem
.docs-navlist ul > li
border-left: solid 1px rgba(255, 255, 255, 0.1)
margin-left: 16px

.docs-section-title
font-size: 1.2rem
color: $grey-lighter
line-height: 100%
.docs-navlist li
position: relative

&.is-active
color: $primary
.docs-navlist li a
color: $grey-lighter
display: block
font-size: 0.9rem
padding: 8px 24px 8px 16px

.docs-section-list
margin-left: .3rem
border-left: 1px solid $grey
&:hover
background: rgba(255, 255, 255, 0.05)

ul
margin-top: .75rem
.docs-navlist li.active > a
color: $tan

li
font-size: 1rem
margin-left: 1rem
line-height: 120%
.navlist-caret
height: 10px
margin-top: -5px
position: absolute
right: 16px
top: 22px
fill: rgba(255, 255, 255, 0.25)

a
color: $grey-lighter
li.expanded > a > .navlist-caret
transform: rotate(90deg)

& + li
margin-top: .8rem
.docs-article
flex: 1 1 auto
overflow: auto

&.is-active
a
color: $tan
.docs-content
margin: 2rem 2.5rem

.docs-article
flex: 1 1 auto
overflow: auto
+touch
margin: 1.5rem

.docs-content
margin: 2rem 2.5rem
padding-bottom: 5rem

+touch
margin: 1.5rem
.content
+desktop
width: 80%

padding-bottom: 5rem
p a, li a
font-weight: 700

.content
+desktop
width: 80%
li .highlight, ol li
margin-bottom: 1rem

p a, li a
font-weight: 700
h1
font-size: 1.802rem
h2
font-size: 1.602rem
h3
font-size: 1.424rem
h4
font-size: 1.266rem
h5
font-size: 1.125rem
h2, h3, h4, h5, h6
color: $vitess-orange

li .highlight, ol li
margin-bottom: 1rem
.docs-header
padding-bottom: 1rem
margin-bottom: 2rem

h1
font-size: 1.802rem
h2
font-size: 1.602rem
h3
font-size: 1.424rem
h4
font-size: 1.266rem
h5
font-size: 1.125rem
h2, h3, h4, h5, h6
color: $vitess-orange
.card-content
padding: 0 0 1.5rem 0

.docs-header
padding-bottom: 1rem
margin-bottom: 2rem
border-bottom: 1px solid $grey-lighter
.docs-toc
flex: 0 0 15%
background-color: $white-bis
overflow: auto
border-left: 1px solid $grey-light

.card-content
padding: 0 0 1.5rem 0
&-container
margin: 1rem

.docs-toc
flex: 0 0 15%
background-color: $white-bis
overflow: auto
border-left: 1px solid $grey-light
&-title
color: $dark
font-size: 1.25rem

&-container
margin: 1rem
&-menu
margin: 1.5rem 0

&-title
a
color: $dark
font-size: 1.25rem

&-menu
margin: 1.5rem 0

a
color: $dark

&:hover
color: $primary
&:hover
color: $primary

#TableOfContents
ul
li
font-size: 1rem
line-height: 1.2rem
#TableOfContents
ul
li
font-size: 1rem
line-height: 1.2rem

& + li
margin-top: .75rem
& + li
margin-top: .75rem

ul
margin: .5rem 0 0 1rem
ul
margin: .5rem 0 0 1rem

li
font-size: 0.8rem
li
font-size: 0.8rem

& + li
margin-top: .75rem
line-height: 1.2rem
& + li
margin-top: .75rem
line-height: 1.2rem



Expand All @@ -171,4 +170,3 @@ html, body
margin-left: 30px;
background-color: #f7f7f7;
margin-bottom: 10px;

53 changes: 49 additions & 4 deletions assets/sass/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ figure
.has-extra-padding
padding: 2.5rem

.docs-article ul li
.docs-article .content ul li
margin-left: -.5rem
list-style-type: square

.is-blog-container
max-width: 100%
margin: -12rem auto 0 auto

.is-blog-card
Expand Down Expand Up @@ -94,6 +95,8 @@ figure
font-style: normal
font-weight: 700

.is-blog-container .media-content
max-width: 100%


.toc-column
Expand Down Expand Up @@ -147,8 +150,8 @@ figure
justify-content: right

.is-user-logo
max-height: 1.5rem
margin: 1.25rem
max-height: 1.7rem
margin: 1.1rem

=logo($touch, $tablet)
+touch
Expand All @@ -163,7 +166,7 @@ figure
+logo(40%, 30%)

.is-cncf-logo
+logo(60%, 35%)
+logo(55%, 30%)

.is-footer-logo
+logo(30%, 10%)
Expand All @@ -190,3 +193,45 @@ figure
&.is-active
position: fixed

+until($navbar-breakpoint)
#search-bar
display: block

.algolia-autocomplete
// Fixes for the DocSearch widget to prevent clipping on mobile.
display: block !important

.ds-dropdown-menu
max-width: 100vw !important
min-width: fit-content !important

+from($navbar-breakpoint)
// On mobile (and by default), the search input is displayed at the top of the menu,
// whereas on desktop, it's displayed at the right side of the menu bar (i.e., flex-end)
.navbar-menu
flex-direction: row-reverse

// Cuddle up the search input + social icons for the full-width navbar
.navbar-item-search
padding-left: 0

.header-link
color: $dark
opacity: 0.3

&:hover
opacity: 1

// When jumping to anchor links, we need to account for the height of the sticky navbar.
// Otherwise, the anchored header will be occluded by the navbar.
// See https://css-tricks.com/hash-tag-links-padding/
$navbar-anchor-offset: calc(#{$navbar-height} + 16px)

h1, h2, h3, h4, h5, h6
&.anchored-header[id]:before
display: block
content: ' '
margin-top: calc(-1 * #{$navbar-anchor-offset})
height: $navbar-anchor-offset
visibility: hidden
pointer-events: none
Loading