-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine guideline "Set up a local workspace" (#9355)
- Loading branch information
Showing
57 changed files
with
588 additions
and
154 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 |
---|---|---|
|
@@ -31,7 +31,6 @@ concurrency: | |
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
||
jobs: | ||
build: | ||
strategy: | ||
|
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 was deleted.
Oops, something went wrong.
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,3 @@ | ||
.jekyll-cache | ||
.jekyll-metadata | ||
_site/ |
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,2 +1,4 @@ | ||
Gemfile.lock | ||
.jekyll-cache | ||
.jekyll-metadata | ||
_site/ |
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 @@ | ||
FROM ruby:2.7 | ||
|
||
ENV LC_ALL C.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
|
||
EXPOSE 4000 | ||
|
||
WORKDIR /srv/jekyll | ||
COPY . /srv/jekyll | ||
|
||
RUN gem install bundler && bundle install | ||
|
||
CMD bundle exec jekyll serve -H 0.0.0.0 -t |
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,6 +1,19 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "jekyll", "~> 4.2" # installed by `gem jekyll` | ||
gem "webrick" # required when using Ruby >= 3 | ||
gem "jekyll", "~> 4.3" # installed by `gem jekyll` | ||
|
||
# Homepage: https://github.com/paulrobertlloyd/jekyll-figure#jekyll-figure | ||
gem 'jekyll-figure' | ||
|
||
gem "just-the-docs", "0.4.0.rc3" | ||
|
||
gem "jekyll-remote-theme" | ||
|
||
# Added, because defualt layout with path "**/*.md" does not work at Jekyll | ||
# Source: https://jekyllrb.com/docs/configuration/front-matter-defaults/#glob-patterns-in-front-matter-defaults | ||
# Homepage: https://github.com/benbalter/jekyll-default-layout#jekyll-default-layout | ||
gem 'jekyll-default-layout' | ||
|
||
# Somehow, "title" is set "magically" when on GitHub, but not when running locally | ||
# Homepage: https://github.com/benbalter/jekyll-titles-from-headings#jekyll-titles-from-headings | ||
gem 'jekyll-titles-from-headings' |
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ title: "Developer Documentation" | |
remote_theme: just-the-docs/[email protected] | ||
color_scheme: light | ||
|
||
exclude: [CNAME, README.md, mkdocs-custom.css] | ||
|
||
# Hint by https://github.com/just-the-docs/just-the-docs/issues/374#issuecomment-680273258 | ||
# Theme read from https://github.com/StylishThemes/Syntax-Themes/blob/master/pygments/css-github/ | ||
# Browse alternative themes at https://stylishthemes.github.io/Syntax-Themes/pygments/ | ||
|
@@ -34,4 +36,28 @@ baseurl: "" | |
url: "" | ||
|
||
plugins: | ||
- jekyll-default-layout | ||
- jekyll-figure | ||
- jekyll-remote-theme | ||
- jekyll-titles-from-headings | ||
|
||
jekyll-figure: | ||
paragraphs: false | ||
|
||
callouts_level: quiet # or loud | ||
callouts: | ||
highlight: | ||
title: Summary | ||
color: blue | ||
important: | ||
title: Important | ||
color: yellow | ||
new: | ||
title: New | ||
color: green | ||
note: | ||
title: Note | ||
color: purple | ||
warning: | ||
title: Warning | ||
color: red |
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,8 @@ | ||
figcaption { | ||
font-size: .75em; | ||
font-weight: 550; | ||
} | ||
|
||
figcaption:before { | ||
content: "Figure: " | ||
} |
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.
Oops, something went wrong.