Skip to content

Commit 84c2572

Browse files
Docsy-based version of website (#53)
Signed-off-by: Dariksha <[email protected]> Signed-off-by: Patrice Chalin <[email protected]> Co-authored-by: Patrice Chalin <[email protected]>
1 parent a5f2b19 commit 84c2572

File tree

110 files changed

+1325
-2239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1325
-2239
lines changed

.github/workflows/check-format.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Files
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
# check-filenames:
8+
# name: FILENAME check
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - uses: actions/checkout@v4
12+
# - run: npm run check:filenames
13+
14+
check-formatting:
15+
name: FILE FORMAT
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Create NPM cache-hash input file
21+
run: |
22+
mkdir -p tmp
23+
jq '{devDependencies, engines, gitHubActionCacheKey}' package.json > tmp/package-ci.json
24+
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version-file: .nvmrc
28+
cache: npm
29+
cache-dependency-path: tmp/package-ci.json
30+
31+
- name: Check file format
32+
run: npm run check:format --ignore-scripts

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88

99
# npm artifacts
1010
node_modules/
11+
12+
# other
13+
/tmp

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/docsy"]
2+
path = themes/docsy
3+
url = https://github.com/google/docsy.git

.htmltest.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
DirectoryPath: public
2+
CheckDoctype: false # Sadly, this is false only because of `static/google*.html`
3+
IgnoreAltMissing: true # FIXME
4+
IgnoreDirectoryMissingTrailingSlash: true # FIXME
5+
IgnoreDirs: [_print] # FIXME
6+
IgnoreEmptyHref: true # FIXME
7+
IgnoreInternalEmptyHash: true # FIXME
8+
IgnoreInternalURLs: # list of paths
9+
IgnoreURLs: # list of regexs of paths or URLs to be ignored
10+
- ^https://twitter.com/docsydocs$

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Temporary: ignore top-level *.md until docsy branch is merged into main
2+
CONTRIBUTING.md
3+
README.md
4+
5+
/themes
6+
/layouts

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
HTMLTEST_DIR=tmp
2+
HTMLTEST?=htmltest # Specify as make arg if different
3+
HTMLTEST_ARGS?=--skip-external
4+
5+
# Use $(HTMLTEST) in PATH, if available; otherwise, we'll get a copy
6+
ifeq (, $(shell which $(HTMLTEST)))
7+
override HTMLTEST=$(HTMLTEST_DIR)/bin/htmltest
8+
ifeq (, $(shell which $(HTMLTEST)))
9+
GET_LINK_CHECKER_IF_NEEDED=get-link-checker
10+
endif
11+
endif
12+
13+
check-links: $(GET_LINK_CHECKER_IF_NEEDED)
14+
$(HTMLTEST) $(HTMLTEST_ARGS)
15+
16+
clean:
17+
rm -rf $(HTMLTEST_DIR) public/* resources
18+
19+
get-link-checker:
20+
rm -Rf $(HTMLTEST_DIR)/bin
21+
curl https://htmltest.wjdp.uk | bash -s -- -b $(HTMLTEST_DIR)/bin

assets/icons/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/js/app.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

assets/sass/style.sass

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)