Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair docs action #17

Merged
merged 12 commits into from
Apr 24, 2024
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ jobs:
JULIA_NUM_THREADS: 8
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: lcov.info

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

on:
push:
branches:
- main
tags: '*'
pull_request:

jobs:
build:
permissions:
contents: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1.6'
- uses: julia-actions/cache@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# open62541

[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://martinkosch.github.io/open62541.jl/dev)
[![Build Status](https://travis-ci.com/martinkosch/open62541.jl.svg?branch=main)](https://travis-ci.com/martinkosch/open62541.jl)
[![Coverage](https://codecov.io/gh/martinkosch/open62541.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/martinkosch/open62541.jl)
[![CI](https://github.com/martinkosch/open62541.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/martinkosch/open62541.jl/actions/workflows/CI.yml)
[![codecov](https://codecov.io/gh/martinkosch/open62541.jl/graph/badge.svg?token=lJe2xOTO7g)](https://codecov.io/gh/martinkosch/open62541.jl)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
97 changes: 0 additions & 97 deletions docs/Manifest.toml

This file was deleted.

23 changes: 21 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,29 @@ makedocs(;
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://martinkosch.github.io/open62541.jl",
assets = String[]),
assets = String[],
size_threshold=8000 * 2^10,
repolink = "https://github.com/martinkosch/open62541.jl",
),
pages = [
"Home" => "index.md"
])
],
warnonly = Documenter.except(
:autodocs_block,
# :cross_references,
:docs_block,
:doctest,
:eval_block,
:example_block,
:footnote,
:linkcheck_remotes,
:linkcheck,
:meta_block,
:missing_docs,
:parse_error,
:setup_block
),
)

deploydocs(;
repo = "github.com/martinkosch/open62541.jl",
Expand Down
Loading