Skip to content

Commit

Permalink
more fixes to doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Dec 18, 2023
1 parent d54d541 commit 3402414
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ makedocs(
"Bravais types & bases" => "bravais.md",
"Band representations" => "bandreps.md",
"Lattices" => "lattices.md",
"API" => "api.md"
"API" => "api.md",
"Internal API" => "internal-api.md",
]
)

Expand Down
7 changes: 1 addition & 6 deletions docs/src/api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# API
# Public API

---

Expand All @@ -25,9 +25,4 @@ Order = [:function]
Modules = [Crystalline]
Private = false
Order = [:constant]
```

## Unexported functionality
```@docs
Crystalline.AbstractGroup{D}
```
3 changes: 2 additions & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ Pages = ["operations.md",
"bravais.md",
"bandreps.md",
"lattices.md",
"api.md"]
"api.md",
"internal-api.md"]
```
16 changes: 16 additions & 0 deletions docs/src/internal-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Internal API

This page lists unexported functionality from Crystalline, that may be of interest to developers.

---

```@meta
CurrentModule = Crystalline
```

## Unexported, internal functionality
```@autodocs
Modules = [Crystalline]
Private = true
Order = [:type, :function, :constant]
```
7 changes: 5 additions & 2 deletions src/Crystalline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ export @S_str, spacegroup, compose,
pointgroup,
reduce_ops,
issubgroup, isnormal,
generate, generators,
position # to appear in docs, must be re-exported, even though it extends Base
generate, generators

include("conjugacy.jl") # construction of conjugacy classes
export classes, is_abelian
Expand Down Expand Up @@ -140,6 +139,10 @@ export SubperiodicGroup, subperiodicgroup
include("grouprelations/grouprelations.jl")
export maximal_subgroups, minimal_supergroups

# some functions are extensions of base-owned names; we need to (re)export them in order to
# get the associated docstrings listed by Documeter.jl
export position, inv

# ---------------------------------------------------------------------------------------- #
# EXTENSIONS AND JLD-FILE INITIALIZATION
if !isdefined(Base, :get_extension)
Expand Down

0 comments on commit 3402414

Please sign in to comment.