Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effectively revert #801, removing docsy as a Hugo module #860

Merged
merged 1 commit into from
Jan 22, 2022
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
23 changes: 0 additions & 23 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,3 @@ isHTML = true
mediaType = "text/html"
path = "_print"
permalinkable = false

[module]
[module.hugoVersion]
extended = true
min = "0.77.0"
# enable imports for sites that are using git submodules
replacements = "github.com/FortAwesome/Font-Awesome -> ., github.com/twbs/bootstrap -> ."

# Dependencies are brought in as modules
# and mount points are declared
[[module.imports]]
path = "github.com/twbs/bootstrap"
disable = false
[[module.imports.mounts]]
source = "scss"
target = "assets/vendor/bootstrap/scss"

[[module.imports]]
path = "github.com/FortAwesome/Font-Awesome"
disable = false
[[module.imports.mounts]]
source = "scss"
target = "assets/vendor/Font-Awesome/scss"
8 changes: 0 additions & 8 deletions go.mod

This file was deleted.

4 changes: 0 additions & 4 deletions go.sum

This file was deleted.

19 changes: 4 additions & 15 deletions userguide/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ anchor = "smart"
weight = 50
url = "https://github.com/google/docsy/"
pre = "<i class='fab fa-github'></i>"
post = "<span class='alert'>New!</span>"
post = "<span class='alert'>New!</span>"

[services]
[services.googleAnalytics]
Expand Down Expand Up @@ -101,13 +101,13 @@ privacy_policy = "https://policies.google.com/privacy"
# This menu appears only if you have at least one [params.versions] set.
version_menu = "Releases"

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

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

Expand Down Expand Up @@ -167,7 +167,7 @@ yes = 'Glad to hear it! Please <a href="https://github.com/google/docsy/issues/n
no = 'Sorry to hear that. Please <a href="https://github.com/google/docsy/issues/new">tell us how we can improve</a>.'

# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# add "hide_readingtime: true" to the page's front matter
[params.ui.readingtime]
enable = false
Expand Down Expand Up @@ -242,14 +242,3 @@ enable = true
[taxonomies]
tag = "tags"
category = "categories"

[module]
# uncomment line below for temporary local development of module
# replacements = "github.com/google/docsy -> ../../docsy"
[module.hugoVersion]
extended = true
min = "0.75.0"
[[module.imports]]
path = "github.com/google/docsy"
# set disable to false to use theme as module
disable = true
8 changes: 0 additions & 8 deletions userguide/go.mod

This file was deleted.

2 changes: 0 additions & 2 deletions userguide/go.sum

This file was deleted.