-
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.
initial check in
- Loading branch information
Showing
182 changed files
with
23,519 additions
and
0 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,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "standard", | ||
"rules": { | ||
"arrow-parens": ["error", "always"], | ||
"comma-dangle": ["error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline" | ||
}], | ||
"max-len": [1, 120, 2], | ||
"spaced-comment": "off" | ||
} | ||
} |
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 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
labels: | ||
- infra |
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,70 @@ | ||
--- | ||
# GitHub Actions workflow for commits pushed to the antora theme repo | ||
|
||
name: CI | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
node-version: [18.16.0] | ||
steps: | ||
- name: Clone the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Run with CI | ||
run: npm ci | ||
|
||
# Build the Antora UI bundle for release. | ||
- name: Build bundle | ||
id: build_bundle | ||
run: gulp bundle | ||
|
||
# Build the Antora preview (ends up in ./public) | ||
- name: Build preview | ||
# Only support previews on PRs | ||
if: "github.event_name == 'pull_request'" | ||
id: build_preview | ||
run: gulp preview:build | ||
|
||
- name: Store PR id | ||
if: "github.event_name == 'pull_request'" | ||
run: echo ${{ github.event.number }} > ./public/pr-id.txt | ||
|
||
- name: Publishing directory for PR preview | ||
if: "github.event_name == 'pull_request'" | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: site | ||
path: ./public | ||
retention-days: 3 | ||
|
||
- name: Bump version and push tag | ||
id: tag | ||
uses: anothrNick/[email protected] | ||
# Only try and deploy on merged code | ||
if: "github.repository == 'eddiecarpenter/antora-ui-go-docs' && github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'schedule')" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
WITH_V: true | ||
|
||
- name: Publish bundle | ||
uses: ncipollo/release-action@v1 | ||
# Only try and deploy on merged code, ie if we just made a tag | ||
if: "steps.tag.outputs.new_tag" | ||
with: | ||
artifacts: "./build/ui-bundle.zip" | ||
omitBody: true | ||
generateReleaseNotes: true | ||
makeLatest: true | ||
tag: "${{ steps.tag.outputs.new_tag }}" |
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 @@ | ||
/build/ | ||
/node_modules/ | ||
/public/ | ||
|
||
# Eclipse | ||
.project | ||
.settings/ |
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 @@ | ||
{ | ||
"description": "Build tasks for the Antora UI project", | ||
"flags.tasksDepth": 1 | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
38 changes: 38 additions & 0 deletions
38
.idea/sonarlint/issuestore/9/0/909c4f25141cd1fa3ddf0472eb497647a254a2d4
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.