forked from google/docsy
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
1ff7f50
commit 8346f1a
Showing
33 changed files
with
97 additions
and
256 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Docsy | ||
|
||
This theme is a customized version of Hugo [Docsy] theme with Camptocamp branding. | ||
|
||
## Contributing | ||
|
||
`upstream` branch must be a direct ancestor of the upstream main branch: it can be behind the upstream main branch, but cannot diverge from it. `main` branch must be ahead of `upstream` branch: each time `upstream` is synced with upstream, `main` has to be rebased. | ||
|
||
### Prerequisites | ||
|
||
Add upstream remote repository: | ||
|
||
``` | ||
git remote add upstream git@github.com:google/docsy.git | ||
git fetch upstream | ||
``` | ||
|
||
### Rebasing on upstream main branch | ||
|
||
``` | ||
git checkout upstream | ||
git pull --tags --ff-only upstream main | ||
git push | ||
git checkout main | ||
git rebase upstream | ||
git push --force-with-lease | ||
``` | ||
|
||
### Releasing a new version | ||
|
||
``` | ||
git checkout <upstream-tag> | ||
git cherry-pick upstream..main | ||
git tag <upstream-tag>.c2c.<version> | ||
git push origin <upstream-tag>.c2c.<version> | ||
``` | ||
|
||
[Docsy]: https://www.docsy.dev |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,17 @@ | ||
.td-navbar { | ||
.navbar-brand__logo { | ||
fill: white; | ||
|
||
svg { | ||
height: 1em; | ||
} | ||
} | ||
|
||
&.td-navbar-cover { | ||
&:not(.navbar-bg-onscroll) { | ||
.navbar-brand__logo { | ||
fill: $orange; | ||
} | ||
} | ||
} | ||
} |
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,15 @@ | ||
$admonition-note: $secondary !default; | ||
$admonition-tip: $info !default; | ||
$admonition-important: $primary !default; | ||
$admonition-caution: $warning !default; | ||
$admonition-warning: $danger !default; | ||
|
||
$admonition-colors: ( | ||
"note": $admonition-note, | ||
"tip": $admonition-tip, | ||
"important": $admonition-important, | ||
"caution": $admonition-caution, | ||
"warning": $admonition-warning, | ||
); | ||
|
||
$theme-colors: map-merge($theme-colors, $admonition-colors); |
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,7 @@ | ||
@import url(../fonts/inter/inter.css); | ||
|
||
// Camptocamp colors | ||
$primary: #ff680a; | ||
$secondary: #7a7f82; | ||
|
||
$font-family-sans-serif: 'Inter'; |
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,6 @@ | ||
$success: $green; | ||
$info: $cyan; | ||
$warning: $yellow; | ||
$danger: $red; | ||
$light: $gray-100; | ||
$dark: $gray-900; |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module github.com/google/docsy | ||
module github.com/camptocamp/docsy | ||
|
||
go 1.12 | ||
|
||
|
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 @@ | ||
{{ .Get 0 | absURL }} |
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 @@ | ||
{{ .Get 0 | relURL }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.21 KB
(31%)
static/favicons/apple-touch-icon-180x180.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,4 @@ | ||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('./Inter-VariableFont_slnt,wght.ttf') format('truetype'); | ||
} |