-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'JuliaDocs:master' into master
- Loading branch information
Showing
14 changed files
with
229 additions
and
4 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,79 @@ | ||
name: regression-tests | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
test-dependent-packages: | ||
name: run-tests-${{ matrix.package }} | ||
runs-on: ubuntu-latest | ||
env: | ||
PACKAGE: ${{ matrix.package }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- package: 'DocumenterCitations' | ||
- package: 'DocumenterMermaid' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
- uses: actions/cache@v1 | ||
env: | ||
cache-name: cache-artifacts | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- name: Test | ||
shell: julia --color=yes {0} | ||
run: | | ||
import Pkg | ||
Pkg.develop(Pkg.PackageSpec(; path = pwd())) | ||
Pkg.develop(ENV["PACKAGE"]) | ||
Pkg.test(ENV["PACKAGE"]) | ||
test-documentation-build: | ||
name: doc-build-${{ matrix.package }} | ||
runs-on: ubuntu-latest | ||
env: | ||
PACKAGE: ${{ matrix.package }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- package: 'MathOptInterface' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
- uses: actions/cache@v1 | ||
env: | ||
cache-name: cache-artifacts | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- name: install-and-build-documentation | ||
shell: julia --color=yes {0} | ||
run: | | ||
import Pkg | ||
# Install the PACKAGE into `Pkg.devdir()` | ||
Pkg.develop(ENV["PACKAGE"]) | ||
# Assume that there is an docs/Project.toml | ||
doc_path = joinpath(Pkg.devdir(), ENV["PACKAGE"], "docs") | ||
Pkg.activate(doc_path) | ||
# Change the TOML to include the package and this version of Documenter | ||
Pkg.develop(ENV["PACKAGE"]) | ||
Pkg.develop(Pkg.PackageSpec(path=pwd())) | ||
# Install | ||
Pkg.instantiate() | ||
# Build the docs | ||
include(joinpath(doc_path, "make.jl")) |
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
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 |
---|---|---|
|
@@ -51,6 +51,7 @@ | |
display: flex; | ||
.breadcrumb { | ||
flex-grow: 1; | ||
overflow-x: hidden; | ||
} | ||
|
||
.docs-sidebar-button { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
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
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