-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
100 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright 2013-2023 The Cobra Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// BACKGROUND COLORS | ||
|
||
$nav-bg:#254E70 !default; | ||
$examples-bg: #002642 !default; | ||
|
||
// FONTS | ||
|
||
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&display=swap"); | ||
|
||
$font-default-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
|
||
// FLEX SIDEBAR | ||
|
||
.toc-wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
#toc { | ||
flex-grow: 1; | ||
} | ||
|
||
.toc-wrapper .toc-footer { | ||
margin-top: .5em; | ||
li { | ||
text-align: center; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
theme = "docuapi" | ||
languageCode = "en-us" | ||
baseurl = "https://spf13.github.io/cobra/" | ||
title = "Cobra" | ||
|
||
disableKinds = ["taxonomyTerm"] | ||
|
||
# Code higlighting settings | ||
pygmentsCodefences = true | ||
pygmentsCodeFencesGuesSsyntax = false | ||
pygmentsOptions = "" | ||
pygmentsStyle = "monokai" | ||
pygmentsUseClasses = false | ||
|
||
defaultContentLanguage = "en" | ||
|
||
[module] | ||
[module.hugoVersion] | ||
[[module.imports]] | ||
# We need one module import for Hugo to detect us as a Hugo Module. | ||
path="github.com/bep/empty-hugo-module" | ||
|
||
[params] | ||
search = true | ||
|
||
[markup] | ||
[markup.goldmark] | ||
[markup.goldmark.parser] | ||
autoHeadingIDType = "github-ascii" | ||
[markup.goldmark.renderer] | ||
unsafe= true | ||
|
||
[languages] | ||
[languages.en] | ||
languageName = "English" | ||
weight = 2 | ||
title = "Cobra documentation" | ||
[languages.en.params] | ||
toc_footers = [ | ||
"[![github.com/spf13/cobra](https://img.shields.io/badge/-spf13/cobra-323131.svg?logo=github&style=flat-square&longCache=true)](https://github.com/spf13/cobra)", | ||
"Built with [Hugo](https://gohugo.io/) theme [DocuAPI](https://github.com/bep/docuapi) by [bep](https://github.com/bep)" | ||
] | ||
[languages.en.params.blackfriday] | ||
angledQuotes = false | ||
hrefTargetBlank = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module github.com/bep/docuapi | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/bep/empty-hugo-module v1.0.0 // indirect | ||
github.com/jquery/jquery-dist v0.0.0-20190501211928-15bc73803f76 // indirect | ||
github.com/olivernn/lunr.js v2.3.8+incompatible // indirect | ||
github.com/slatedocs/slate v2.3.1+incompatible // indirect | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.