Skip to content

Commit

Permalink
Reintroduce Docsy as a submodule (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Aug 8, 2023
1 parent 38cb831 commit 9c0fb1e
Show file tree
Hide file tree
Showing 198 changed files with 11 additions and 16,503 deletions.
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "website/themes/docsy/assets/vendor/Font-Awesome"]
path = website/themes/docsy/assets/vendor/Font-Awesome
url = https://github.com/FortAwesome/Font-Awesome.git
[submodule "website/themes/docsy/assets/vendor/bootstrap"]
path = website/themes/docsy/assets/vendor/bootstrap
url = https://github.com/twbs/bootstrap.git
[submodule "website/themes/docsy"]
path = website/themes/docsy
url = https://github.com/google/docsy.git
11 changes: 7 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"scripts": {
"_build": "hugo --cleanDestinationDir -e dev -DFE",
"_get:no": "echo SKIPPING get operation",
"_get:submodule": "set -x && git submodule update --init --recursive ${DEPTH:- --depth 1}",
"_hugo:dev": "hugo --cleanDestinationDir -e dev -DFE",
"_prebuild": "npm run get:submodule",
"_serve:dev": "npm run _hugo:dev -- serve --renderToDisk --disableLiveReload --baseURL https://tag-env-sustainability.cncf.io --appendPort=false",
"_serve:hugo": "hugo serve -DFE --minify",
"build:preview": "set -x && npm run _build -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:preview": "set -x && npm run _hugo:dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "hugo --cleanDestinationDir --minify",
"build": "npm run _build",
"build": "npm run _hugo:dev",
"get:submodule": "npm run _get:${GET:-submodule}",
"postget:submodule": "git submodule",
"prebuild": "npm run _prebuild",
"prebuild:preview": "npm run _prebuild",
"prebuild:production": "npm run _prebuild",
"prebuild": "npm run _prebuild",
"prepare": "npm run get:submodule",
"preserve:dev": "npm run _prebuild",
"preserve": "npm run _prebuild",
"serve:dev": "npm run _serve:dev",
"serve": "npm run _serve:hugo",
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
1 change: 1 addition & 0 deletions website/themes/docsy
Submodule docsy added at e67775
10 changes: 0 additions & 10 deletions website/themes/docsy/.editorconfig

This file was deleted.

6 changes: 0 additions & 6 deletions website/themes/docsy/.gitignore

This file was deleted.

Empty file.
5 changes: 0 additions & 5 deletions website/themes/docsy/.prettierrc.json

This file was deleted.

14 changes: 0 additions & 14 deletions website/themes/docsy/.s3deploy.yml

This file was deleted.

34 changes: 0 additions & 34 deletions website/themes/docsy/CONTRIBUTING.md

This file was deleted.

201 changes: 0 additions & 201 deletions website/themes/docsy/LICENSE

This file was deleted.

59 changes: 0 additions & 59 deletions website/themes/docsy/README.md

This file was deleted.

Binary file removed website/themes/docsy/assets/icons/logo.png
Binary file not shown.
Loading

0 comments on commit 9c0fb1e

Please sign in to comment.