Skip to content

Commit cbe5a23

Browse files
authored
Set version to 0.7.0-dev, adjust default branch, and more (#213)
1 parent 961aa15 commit cbe5a23

3 files changed

Lines changed: 24 additions & 28 deletions

File tree

config.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ category = "categories"
2323

2424
[params.taxonomy]
2525
# set taxonomyCloud = [] to hide taxonomy clouds
26-
taxonomyCloud = ["tags", "categories"]
26+
taxonomyCloud = ["tags", "categories"]
2727

2828
# If used, must have same length as taxonomyCloud
29-
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
29+
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
3030

3131
# set taxonomyPageHeader = [] to hide taxonomies on the page headers
32-
taxonomyPageHeader = ["tags", "categories"]
32+
taxonomyPageHeader = ["tags", "categories"]
3333

3434

3535
# Highlighting config
@@ -60,27 +60,27 @@ id = "UA-00000000-0"
6060

6161
[languages]
6262
[languages.en]
63-
title = "Goldydocs"
6463
languageName ="English"
6564
# Weight used for sorting.
6665
weight = 1
6766
[languages.en.params]
67+
title = "Goldydocs"
6868
description = "A Docsy example site"
6969

7070
[languages.no]
71-
title = "Goldydocs"
7271
languageName ="Norsk"
7372
contentDir = "content/no"
7473
[languages.no.params]
74+
title = "Goldydocs"
7575
description = "Docsy er operativsystem for skyen"
7676
time_format_default = "02.01.2006"
7777
time_format_blog = "02.01.2006"
7878

7979
[languages.fa]
80-
title = "اسناد گلدی"
8180
languageName ="فارسی"
8281
contentDir = "content/fa"
8382
[languages.fa.params]
83+
title = "اسناد گلدی"
8484
description = "یک نمونه برای پوسته داکسی"
8585
time_format_default = "2006.01.02"
8686
time_format_blog = "2006.01.02"
@@ -112,13 +112,13 @@ privacy_policy = "https://policies.google.com/privacy"
112112
# This menu appears only if you have at least one [params.versions] set.
113113
version_menu = "Releases"
114114

115-
# Flag used in the "version-banner" partial to decide whether to display a
115+
# Flag used in the "version-banner" partial to decide whether to display a
116116
# banner on every page indicating that this is an archived version of the docs.
117117
# Set this flag to "true" if you want to display the banner.
118118
archived_version = false
119119

120120
# The version number for the version of the docs represented in this doc set.
121-
# Used in the "version-banner" partial to display a version number for the
121+
# Used in the "version-banner" partial to display a version number for the
122122
# current doc set.
123123
version = "0.0"
124124

@@ -136,7 +136,7 @@ github_project_repo = "https://github.com/google/docsy"
136136

137137
# Uncomment this if your GitHub repo does not have "main" as the default branch,
138138
# or specify a new value if you want to reference another branch in your GitHub links
139-
github_branch= "master"
139+
github_branch= "main"
140140

141141
# Google Custom Search Engine ID. Remove or comment out to disable search.
142142
gcs_engine_id = "d72aa9b2712488cc3"
@@ -176,7 +176,7 @@ yes = 'Glad to hear it! Please <a href="https://github.com/USERNAME/REPOSITORY/i
176176
no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
177177

178178
# Adds a reading time to the top of each doc.
179-
# If you want this feature, but occasionally need to remove the Reading time from a single page,
179+
# If you want this feature, but occasionally need to remove the Reading time from a single page,
180180
# add "hide_readingtime: true" to the page's front matter
181181
[params.ui.readingtime]
182182
enable = false
@@ -222,10 +222,10 @@ enable = false
222222
# replacements = "github.com/google/docsy -> ../../docsy"
223223
[module.hugoVersion]
224224
extended = true
225-
min = "0.75.0"
225+
min = "0.110.0"
226226
[[module.imports]]
227227
path = "github.com/google/docsy"
228228
disable = false
229229
[[module.imports]]
230230
path = "github.com/google/docsy/dependencies"
231-
disable = false
231+
disable = false

netlify.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[build]
22
[build.environment]
3-
HUGO_VERSION = "0.112.1"
43
GO_VERSION = "1.20.4"

package.json

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"name": "docsy-example-site",
3-
"version": "0.6.0",
4-
"description": "Example site that uses docsy theme for technical documentation.",
5-
"main": "none.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "git+https://github.com/google/docsy-example.git"
12-
},
13-
"author": "",
3+
"version": "0.7.0-dev.0-unreleased",
4+
"description": "Example site that uses Docsy theme for technical documentation.",
5+
"repository": "github:google/docsy-example",
6+
"homepage": "https://example.docsy.dev",
7+
"author": "Docsy Authors",
148
"license": "Apache-2.0",
15-
"bugs": {
16-
"url": "https://github.com/google/docsy-example/issues"
9+
"bugs": "https://github.com/google/docsy-example/issues",
10+
"scripts": {
11+
"_serve:hugo": "hugo server -DFE --minify",
12+
"build": "hugo --cleanDestinationDir -e dev -DFE",
13+
"serve": "npm run _serve:hugo",
14+
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest"
1715
},
18-
"homepage": "https://github.com/google/docsy-example#readme",
1916
"devDependencies": {
2017
"autoprefixer": "^10.4.0",
21-
"postcss": "^8.3.7",
18+
"hugo-extended": "0.113.0",
2219
"postcss-cli": "^10.1.0"
2320
}
2421
}

0 commit comments

Comments
 (0)