Skip to content

Commit 97069fa

Browse files
authored
Merge pull request #24 from asinghvi17/patch-2
Create Documentation.yml
2 parents fd5676b + 7c242b1 commit 97069fa

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

.github/workflows/Documentation.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches: master
6+
tags: v*
7+
8+
pull_request:
9+
branches: master
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
julia-version: [1.4]
17+
julia-arch: [x86]
18+
os: [ubuntu-latest]
19+
steps:
20+
- uses: actions/checkout@v1.0.0
21+
- name: Setup julia
22+
uses: julia-actions/setup-julia@latest
23+
with:
24+
version: ${{ matrix.julia-version }}
25+
- name: Install dependencies
26+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
27+
- name: Build and deploy
28+
env:
29+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
run: julia --project=docs/ docs/make.jl

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
[![Build Status](https://ci.appveyor.com/api/projects/status/github/SimonDanisch/GeometryBasics.jl?svg=true)](https://ci.appveyor.com/project/SimonDanisch/GeometryBasics-jl)
44
[![Codecov](https://codecov.io/gh/SimonDanisch/GeometryBasics.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/SimonDanisch/GeometryBasics.jl)
55

6+
**Documentation**: [![][docs-stable-img]][docs-stable-url] [![][docs-master-img]][docs-master-url]
7+
8+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-lightgrey.svg
9+
[docs-stable-url]: http://juliageometry.github.io/GeometryBasics.jl/stable/
10+
[docs-master-img]: https://img.shields.io/badge/docs-dev-blue.svg
11+
[docs-master-url]: http://juliageometry.github.io/GeometryBasics.jl
612

713
# GeometryBasics.jl
814

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"

docs/make.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ makedocs(
1818
"meshes.md",
1919
"decomposition.md",
2020
"distancefields.md",
21-
"metadata.jl",
21+
"metadata.md",
2222
"api.md",
2323
],
24-
modules = [GeometryTypes]
24+
modules = [GeometryBasics]
2525
)
2626

2727
deploydocs(
28-
repo = "github.com/JuliaGeometry/GeometryTypes.jl.git",
28+
repo = "github.com/JuliaGeometry/GeometryBasics.jl.git",
2929
push_preview = true
3030
)

0 commit comments

Comments
 (0)