Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 69 additions & 69 deletions .github/workflows/VeniceCI-E2ETests.yml

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy Documentation

on:
push:
branches: [main]

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git Credentials
run: |
git remote set-head origin --auto
git remote add upstream https://github.com/linkedin/venice
git fetch upstream
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: ~/.cache
restore-keys: |
mkdocs-material-
- run: pip install -r docs/doc-requirements.txt

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3

- name: Generate Javadoc
run: ./gradlew aggregateJavadoc

- name: Copy Javadoc
run: |
mkdir -p docs/javadoc
cp -r build/javadoc/* docs/javadoc/

- run: mkdocs gh-deploy --force
40 changes: 0 additions & 40 deletions .github/workflows/publish-javadoc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.shelf/
out/
build/
site/
internal/venice-test-common/tmp/
internal/venice-test-common/dump.complete.hprof
internal/venice-test-common/src/jmh/generated
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,12 @@ spotless {
target '**/src/**/*.java'
targetExclude '**/generated/**'
}
format 'markdown', {
target '**/*.md'
targetExclude '**/build/**', '**/target/**', '**/.gradle/**'
prettier(['prettier': '2.8.8', 'prettier-plugin-java': '2.2.0'])
.config(['proseWrap': 'always', 'printWidth': 120])
}
}

task setupWorkspace {
Expand Down
7 changes: 0 additions & 7 deletions docs/Gemfile

This file was deleted.

150 changes: 84 additions & 66 deletions docs/README.md

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions docs/_config.yml

This file was deleted.

8 changes: 0 additions & 8 deletions docs/_sass/custom/custom.scss

This file was deleted.

13 changes: 13 additions & 0 deletions docs/assets/style/HEAD_white_RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions docs/assets/style/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* Venice Documentation Custom Styles */
/* Brand colors: Black and White */

:root {
--venice-black: #000000;
--venice-white: #ffffff;
}

[data-md-color-scheme="slate"] {
--md-primary-fg-color: var(--venice-black);
--md-accent-fg-color: var(--venice-white);
}

[data-md-color-scheme="default"] {
--md-primary-fg-color: var(--venice-black);
--md-accent-fg-color: var(--venice-black);
}

.md-typeset table:not([class]) {
border-radius: 0.5rem;
overflow: hidden;
}

.md-button {
border-radius: 0.5rem;
}

.md-typeset code {
border-radius: 0.25rem;
}

.md-typeset pre > code {
border-radius: 0.5rem;
}

/* Hide permalink icon by default, show only on heading hover */
.md-typeset .headerlink {
opacity: 0;
transition: opacity 0.2s;
}

.md-typeset h1:hover .headerlink,
.md-typeset h2:hover .headerlink,
.md-typeset h3:hover .headerlink,
.md-typeset h4:hover .headerlink,
.md-typeset h5:hover .headerlink,
.md-typeset h6:hover .headerlink {
opacity: 1;
}
Loading
Loading