Skip to content

Commit

Permalink
[DOCS] Add versions to docs config (#2935)
Browse files Browse the repository at this point in the history
* Add versions to docs config

Signed-off-by: ChrisChinchilla <chris@chronosphere.io>

* Update Victor theme

Signed-off-by: ChrisChinchilla <chris@chronosphere.io>
  • Loading branch information
Chris Chinchilla authored Dec 2, 2020
1 parent 04540bf commit c8116bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
16 changes: 5 additions & 11 deletions site/config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,22 +134,16 @@ offlineSearch = false
twitter = "m3db_io"
disableHomeIcon = true
gettingStartedLink = "/docs/quickstart/docker"
version_menu = "Versions"

[params.api]
localCordinator = "http://localhost:7201/"
apiEndpoint = "api/v1/"

# TODO: Might need to refactor some of the K8s shortcodes later
# Add your release versions here
# TODO: Enable when ready
# [[params.versions]]
# version = "1.0"
# url = "https://master.kubeflow.org"
# [[params.versions]]
# version = "0.9"
# url = "https://master.kubeflow.org"

# version_menu = "Versions"
[[params.versions]]
version = "1.0"
url = ""


# TODO: Do not like doing this really
[markup]
Expand Down
2 changes: 1 addition & 1 deletion site/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.15

require (
github.com/chronosphereio/docs-theme v0.0.0-20201022162748-0ed11ce73f36 // indirect
github.com/chronosphereio/victor v0.0.0-20201116163333-353bdc2746cd // indirect
github.com/chronosphereio/victor v0.0.0-20201122114854-310af010cab1 // indirect
)
2 changes: 2 additions & 0 deletions site/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ github.com/chronosphereio/victor v0.0.0-20201116125303-247fa0ea9ed5 h1:/eksfMA9u
github.com/chronosphereio/victor v0.0.0-20201116125303-247fa0ea9ed5/go.mod h1:wz1ngMsk+1D1ug2ObnI3zXs+/ZdBPrWLb6R1WQW3XNM=
github.com/chronosphereio/victor v0.0.0-20201116163333-353bdc2746cd h1:6iKb0tNHpJX+3WKyv0s/dZ1IN8U7CMylYRPsv7Rjdpo=
github.com/chronosphereio/victor v0.0.0-20201116163333-353bdc2746cd/go.mod h1:wz1ngMsk+1D1ug2ObnI3zXs+/ZdBPrWLb6R1WQW3XNM=
github.com/chronosphereio/victor v0.0.0-20201122114854-310af010cab1 h1:N7NEcoufF4Suq0cS90d+O5OIAsdrZPFOMHuIoX5+LVo=
github.com/chronosphereio/victor v0.0.0-20201122114854-310af010cab1/go.mod h1:wz1ngMsk+1D1ug2ObnI3zXs+/ZdBPrWLb6R1WQW3XNM=

0 comments on commit c8116bf

Please sign in to comment.