-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from MineralsCloud:docs
Add docs
- Loading branch information
Showing
10 changed files
with
172 additions
and
47 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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[deps] | ||
Crystallography = "06308cd2-f292-494b-9308-80930bf85278" | ||
Crystallography = "3bff3928-7a76-11e9-2089-d112443085a5" | ||
CrystallographyBase = "93b1d1cd-a8ea-4aa5-adb1-b2407ea0ba8d" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using Crystallography | ||
using CrystallographyBase | ||
using Documenter | ||
|
||
DocMeta.setdocmeta!(Crystallography, :DocTestSetup, :(using Crystallography); recursive=true) | ||
|
||
makedocs(; | ||
modules=[Crystallography], | ||
modules=[Crystallography,CrystallographyBase], | ||
authors="Qi Zhang <[email protected]>", | ||
repo="https://github.com/MineralsCloud/Crystallography.jl/blob/{commit}{path}#{line}", | ||
sitename="Crystallography.jl", | ||
|
@@ -15,10 +16,9 @@ makedocs(; | |
), | ||
pages=[ | ||
"Home" => "index.md", | ||
"Manual" => Any["Installation"=>"install.md", "Development"=>"develop.md"], | ||
"Manual" => Any["Installation"=>"installation.md", "Development"=>"develop.md"], | ||
"API by modules" => Any[ | ||
"`Crystallography` module"=>"Crystallography.md", | ||
"`Crystallography.Symmetry` module"=>"Symmetry.md", | ||
"`Crystallography` module"=>"api.md", | ||
], | ||
], | ||
) | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
```@meta | ||
CurrentModule = CrystallographyBase | ||
``` | ||
|
||
# API | ||
|
||
```@contents | ||
Pages = ["api.md"] | ||
Depth = 3 | ||
``` | ||
|
||
### Lattice | ||
|
||
```@docs | ||
CrystalSystem | ||
Triclinic | ||
Monoclinic | ||
Orthorhombic | ||
Tetragonal | ||
Cubic | ||
Trigonal | ||
Hexagonal | ||
Centering | ||
BaseCentering | ||
Primitive | ||
BodyCentering | ||
FaceCentering | ||
RhombohedralCentering | ||
BaseCentering | ||
Bravais | ||
Lattice | ||
centering | ||
crystalsystem | ||
basis_vectors | ||
cellparameters | ||
supercell | ||
``` | ||
|
||
### Reciprocal space | ||
|
||
Note that we take ``2pi`` as ``1``, not the solid-state physics convention. | ||
|
||
```@docs | ||
ReciprocalPoint | ||
ReciprocalLattice | ||
inv | ||
reciprocal_mesh | ||
coordinates | ||
weights | ||
``` | ||
|
||
### Miller and Miller–Bravais indices | ||
|
||
```@docs | ||
Miller | ||
MillerBravais | ||
ReciprocalMiller | ||
ReciprocalMillerBravais | ||
family | ||
@m_str | ||
``` | ||
|
||
### Metric tensor | ||
|
||
```@docs | ||
MetricTensor | ||
directioncosine | ||
directionangle | ||
distance | ||
interplanar_spacing | ||
``` | ||
|
||
### Transformations | ||
|
||
```@docs | ||
CartesianFromFractional | ||
FractionalFromCartesian | ||
PrimitiveFromStandardized | ||
StandardizedFromPrimitive | ||
``` | ||
|
||
### Others | ||
|
||
```@docs | ||
cellvolume | ||
``` |
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