Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Documentation Dokos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Trousseau
Documentation Dokos
Commits
13b8a147
Commit
13b8a147
authored
Oct 07, 2019
by
Charles-Henri Decultot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: missing sidebar changes
parent
2b770e87
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
6 deletions
+44
-6
config.js
.vuepress/config.js
+7
-4
en.js
.vuepress/nav/en.js
+4
-0
fr.js
.vuepress/nav/fr.js
+4
-0
stock.js
.vuepress/sidebar/stock.js
+2
-2
website.js
.vuepress/sidebar/website.js
+27
-0
No files found.
.vuepress/config.js
View file @
13b8a147
const
getSettinUpSidebar
=
require
(
'./sidebar/settingUp.js'
)
const
getStockSidebar
=
require
(
'./sidebar/stock.js'
)
const
getWebsiteSidebar
=
require
(
'./sidebar/website.js'
)
module
.
exports
=
{
title
:
'dokos'
,
...
...
@@ -40,8 +41,9 @@ module.exports = {
lastUpdated
:
'Last Updated'
,
nav
:
require
(
'./nav/en'
),
sidebar
:
{
'/dokos/setting-up/'
:
getSettinUpSidebar
(
'Setup'
,
'en'
),
'/dokos/stocks/'
:
getStockSidebar
(
'Stocks'
,
'en'
)
'/dokos/setting-up/'
:
getSettinUpSidebar
(
'Setup'
,
'en'
),
'/dokos/stocks/'
:
getStockSidebar
(
'Stocks'
,
'en'
),
'/dokos/website/'
:
getWebsiteSidebar
(
'Website'
,
'en'
)
}
},
'/fr/'
:
{
...
...
@@ -52,8 +54,9 @@ module.exports = {
lastUpdated
:
'Dernière mise à jour'
,
nav
:
require
(
'./nav/fr'
),
sidebar
:
{
'/fr/dokos/installation/'
:
getSettinUpSidebar
(
'Démarrage'
,
'fr'
),
'/fr/dokos/stocks/'
:
getStockSidebar
(
'Stocks'
,
'fr'
)
'/fr/dokos/installation/'
:
getSettinUpSidebar
(
'Démarrage'
,
'fr'
),
'/fr/dokos/stocks/'
:
getStockSidebar
(
'Stocks'
,
'fr'
),
'/fr/dokos/site-web/'
:
getWebsiteSidebar
(
'Site web'
,
'fr'
)
}
}
}
...
...
.vuepress/nav/en.js
View file @
13b8a147
...
...
@@ -18,6 +18,10 @@ module.exports = [
{
text
:
'Stocks'
,
link
:
'/dokos/stocks/'
},
{
text
:
'Website'
,
link
:
'/dokos/website/'
}
]
}
...
...
.vuepress/nav/fr.js
View file @
13b8a147
...
...
@@ -15,6 +15,10 @@ module.exports = [
{
text
:
'Modules'
,
items
:
[
{
text
:
'Site web'
,
link
:
'/fr/dokos/site-web/'
},
{
text
:
'Stocks'
,
link
:
'/fr/dokos/stocks/'
...
...
.vuepress/sidebar/stock.js
View file @
13b8a147
...
...
@@ -3,7 +3,7 @@ module.exports = function getSidebar (name, lang) {
return
[
{
title
:
name
,
collapsable
:
tru
e
,
collapsable
:
fals
e
,
children
:
[
''
,
'reservation-articles'
...
...
@@ -15,7 +15,7 @@ module.exports = function getSidebar (name, lang) {
return
[
{
title
:
name
,
collapsable
:
tru
e
,
collapsable
:
fals
e
,
children
:
[
''
,
'item-booking'
...
...
.vuepress/sidebar/website.js
0 → 100644
View file @
13b8a147
module
.
exports
=
function
getSidebar
(
name
,
lang
)
{
if
(
lang
===
'fr'
)
{
return
[
{
title
:
name
,
collapsable
:
false
,
sidebarDepth
:
2
,
children
:
[
''
,
'formulaire-web'
]
}
]
}
return
[
{
title
:
name
,
collapsable
:
false
,
sidebarDepth
:
2
,
children
:
[
''
,
'web-form'
]
}
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment