Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
c34a9da
refactor: restructured utils module
Nov 30, 2020
ae1b96c
refactor: decomposed createDocPages function to ease future modificat…
Nov 30, 2020
4a8234e
fix: resolved bugs caused by refactoring
Nov 30, 2020
6dfb4c4
Merge branch 'master' into feat/i18n-setup
vi-nastya Jan 14, 2021
63f292d
fix: show correct sidebar and breadcrumbs for spanish pages
vi-nastya Jan 18, 2021
01a7394
feat: adds spanish version for guides and translations for sidebar, s…
vi-nastya Jan 18, 2021
a848c42
feat: add lins to page translations - wip
vi-nastya Feb 2, 2021
699320b
feat: add stub pages translations
vi-nastya Feb 3, 2021
0a96dde
feat: translate guides page content - POC
vi-nastya Feb 3, 2021
9fdf3b2
chore: disable i18n in production
vi-nastya Feb 4, 2021
a584582
feat: add hreflang for doc pages
vi-nastya Feb 4, 2021
e868b7e
feat: add language switcher to header, redirect doc pages and guides …
vi-nastya Feb 4, 2021
b2514a5
feat: add translations for stub pages
vi-nastya Feb 4, 2021
248ad99
fix: remove old /guides folder, remove /en prefix for english pages
vi-nastya Feb 4, 2021
438a360
fix: highlight active page in sidebar
vi-nastya Feb 4, 2021
dab2f10
fix: handle pages with hideFromSidebar: true
vi-nastya Feb 8, 2021
a424e29
fix: store correct paths while building sidebar tree
vi-nastya Feb 8, 2021
327cc8d
feat: redirect getting-started/welcome page to / or /es based on lang…
vi-nastya Feb 8, 2021
4d5a1b8
fix: remove /en prefix from breadcrumbs links
vi-nastya Feb 8, 2021
7c6ec9d
feat: change top-level guides link label based on chosen locale
vi-nastya Feb 8, 2021
d4c31df
feat: add context to handle language switching
vi-nastya Feb 9, 2021
d94a926
refactor: move contexts to a separate folder
vi-nastya Feb 9, 2021
341c4e9
fix: in header nav use locale from context instead of localStorage
vi-nastya Feb 9, 2021
347e14d
feat: change guides link based on chosen locale in mobile nav
vi-nastya Feb 9, 2021
2297c4b
feat: add responsive styles for language switcher
vi-nastya Feb 9, 2021
0d8faa0
feat: change 'suggest edits' button text based on chosen locale
vi-nastya Feb 9, 2021
10b6721
Merge branch 'master' into feat/i18n-setup
vi-nastya Feb 9, 2021
d001ff9
fix: only use localStorage on client side
vi-nastya Feb 9, 2021
82d06b7
fix: fix redirect on language change
vi-nastya Feb 9, 2021
4105714
fix: redirect to translated version on link click
vi-nastya Feb 9, 2021
af3f1ca
fix: change logo link based on chosen locale
vi-nastya Feb 9, 2021
2cc25ee
feat: add all guides subsections
vi-nastya Feb 9, 2021
af94d56
fix(styles): update language toggle styles
vi-nastya Feb 23, 2021
d5abfc4
feat: add noindex robot tag for es pages
vi-nastya Feb 26, 2021
76b6ddf
feat: exclude spanish pages from sitemap
vi-nastya Feb 26, 2021
6ece77e
feat: remove /es pages from algolia indicies
vi-nastya Mar 1, 2021
2c74e88
Merge branch 'master' into feat/i18n-setup
vi-nastya Mar 1, 2021
d088f70
fix: fix build
vi-nastya Mar 1, 2021
66003f3
feat: add noindex meta tag for stub pages
vi-nastya Mar 1, 2021
44d0c1c
fix: hide language toggle on all pages except guides
vi-nastya Mar 1, 2021
895ace7
feat: add noindex meta tag for /es page
vi-nastya Mar 1, 2021
a6b5d77
refactor: remove explicitly setting only EN and ES locale options in …
vi-nastya Mar 2, 2021
c457d9b
feat: replace special characters with latin characters in localized URLs
vi-nastya Mar 2, 2021
c18c062
refactor: add translatePathPart helper function
vi-nastya Mar 4, 2021
0f33d7c
fix: only make sidebar section titles clickable if they have correspo…
vi-nastya Mar 4, 2021
a1ea2a5
refactor: delete removeGuides helper since we don't have /guides fold…
vi-nastya Mar 4, 2021
a91aba9
refactor: move getSlug and getTranslatedSlug to utils
vi-nastya Mar 4, 2021
a16e448
fix: save url language in local storage if there is no value for it yet
vi-nastya Mar 8, 2021
a5b7756
fix: fix /es page bug after refactoring
vi-nastya Mar 8, 2021
5a1230c
refactor: remove DISABLE_I18N flag from gatsby-node
vi-nastya Mar 8, 2021
b294d57
refactor: replace console.log with reporter.warn in gatsby-node
vi-nastya Mar 8, 2021
89fb4c2
refactor: remove console.log
vi-nastya Mar 10, 2021
7ab3f70
fix: fix minor bugs after refactoring
vi-nastya Mar 11, 2021
da789cc
fix: add comment about algolia
vi-nastya Mar 11, 2021
a6e550c
refactor: add comments on i18n
vi-nastya Mar 22, 2021
691b395
refactor: move i18n config and translations to a separate folder
vi-nastya Mar 22, 2021
0628b02
feat: add i18n keys for Features and Use Cases sections at the Welcom…
vi-nastya Mar 22, 2021
601d32f
refactor: throw error if no english translation was found for an i18n…
vi-nastya Mar 22, 2021
b3936e4
Merge branch 'master' into feat/i18n-setup
vi-nastya Mar 22, 2021
383bb82
fix: change i18n-config export to fix build
vi-nastya Mar 22, 2021
a196c55
fix: remove changing top-level guides link text to guias
vi-nastya Mar 22, 2021
1dc03f0
fix: disable using locale from local storage when language toggle is …
vi-nastya Mar 22, 2021
04f0aea
feat: add i18n-config flag for enabling noindex tag
vi-nastya Mar 22, 2021
3d848db
fix: get rid of optional chaining in gatsby-node
vi-nastya Mar 22, 2021
7307c2a
ES loc: Getting started
ppcano Mar 23, 2021
3c35fc0
ES Translation: WIP Using k6
ppcano Mar 23, 2021
7cf7eef
ES: WIP translate Guides Homepage
ppcano Mar 25, 2021
dfa649b
ES translation: WIP Using k6
ppcano Mar 25, 2021
ee1f8a2
ES translations: Completed Using k6 + Test Authoring
ppcano Mar 25, 2021
68fb328
ES translation: Test Types
ppcano Mar 25, 2021
02d731e
ES: translate Manifesto and What k6 does not on Guides homepage
vi-nastya Mar 25, 2021
f92dc8a
Merge branch 'feat/i18n-setup' of github.com:k6io/docs into feat/i18n…
vi-nastya Mar 25, 2021
9ba67c8
ES - WIP Results visualizations
ppcano Mar 25, 2021
7da8d64
ES - WIP Test types
ppcano Mar 26, 2021
fdbf300
ES - Misc guides
ppcano Mar 26, 2021
6c7fd5a
ES: fix lint:prose
ppcano Mar 26, 2021
24aca12
ES - Testing Guides
ppcano Mar 26, 2021
0dc780d
Merge `master branch`
ppcano Mar 26, 2021
fd9f85c
ES - final details (update latest docs)
ppcano Mar 26, 2021
5a8aef2
ES - minor detail
ppcano Mar 26, 2021
88c096e
ES - minor homepage changes
ppcano Mar 26, 2021
81cbbe2
feat: add ES SEO title and description for /es page
vi-nastya Mar 29, 2021
4ec0459
Disable `higLangugeToogle and disableRedirect`
ppcano Mar 29, 2021
c1ee919
Change cover image
ppcano Mar 29, 2021
4861f84
ES: minor grammar changes
ppcano Mar 29, 2021
b8504bd
ES - Comunidad page - content tweaks
ppcano Mar 29, 2021
d0a4b75
ES - disable hide settings
ppcano Mar 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
"styles",
"svg",
"templates",
"utils"
"utils",
"contexts",
"i18n",
]
}
],
Expand Down
8 changes: 7 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ const plugins = [
}
}`,
exclude: [
'/es',
'/es/*',
'/es/*/*',
'/es/*/*/*',
'/es/*/*/*/*',
'/es/*/*/*/*/*',
'/dev-404-page',
'/404',
'/404.html',
Expand Down Expand Up @@ -277,7 +283,7 @@ module.exports = {
siteDescription:
// eslint-disable-next-line max-len
'Docs k6 is an open source developer-centric load and performance regression testing tool for cloud native APIs, microservices and web sites/apps. Tests are written in ES6 JS with support for HTTP/1.1, HTTP/2.0 and WebSocket protocols.',
siteImage: '/images/landscape-icon.png',
siteImage: '/images/k6-cover-image.png',
siteLanguage: 'en',
siteUrl: process.env.GATSBY_DEFAULT_MAIN_URL,
authorName: 'k6',
Expand Down
Loading