Skip to content

Commit

Permalink
Upgrade to Documenter 1 and fix warnings (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle authored Oct 17, 2023
1 parent 087787d commit 420dadd
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 149 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
*.jl.cov
*.jl.mem
/Manifest.toml
/test/fixtures/*/test/Manifest.toml
/test/fixtures/*/test/Manifest.toml
/docs/Manifest.toml
147 changes: 0 additions & 147 deletions docs/Manifest.toml

This file was deleted.

3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
PkgTemplates = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"

[compat]
Documenter = "1"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ using PkgTemplates: PkgTemplates
makedocs(;
modules=[PkgTemplates],
authors="Chris de Graaf, Invenia Technical Computing Corporation",
repo="https://github.com/JuliaCI/PkgTemplates.jl/blob/{commit}{path}#{line}",
sitename="PkgTemplates.jl",
format=Documenter.HTML(;
repolink="https://github.com/JuliaCI/PkgTemplates.jl",
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://juliaci.github.io/PkgTemplates.jl",
assets=String[],
Expand Down
1 change: 1 addition & 0 deletions docs/src/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ render_text
gen_file
combined_view
tags
pkg_name
```

For more information on text templating, see the [`FilePlugin` Walkthrough](@ref) and the section on [Custom Template Files](@ref).
Expand Down
4 changes: 4 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ If you want to **create new plugins**, see the [Developer Guide](developer.md).

if you're trying to **migrate from an older version of PkgTemplates**, see [Migrating To PkgTemplates 0.7+](migrating.md).

```@docs
PkgTemplates
```

## Index

```@index
Expand Down
7 changes: 7 additions & 0 deletions docs/src/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,17 @@ Coveralls

### Documentation

These plugins will help you build a documentation website.

```@docs
Documenter
Logo
```

### Badges

These plugins will add badges to the README.

```@docs
BlueStyleBadge
ColPracBadge
Expand All @@ -89,6 +94,8 @@ Dependabot
Develop
Citation
RegisterAction
Formatter
CodeOwners
```

## A More Complicated Example
Expand Down

0 comments on commit 420dadd

Please sign in to comment.