-
Notifications
You must be signed in to change notification settings - Fork 182
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
Speed up doc builds & improve documentation #198
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
24887d5
Speed up documentation build for non-deployments
zbeekman a656934
Ignore "colour" in misspell check
zbeekman e1f4a08
Update README to point to documentation
zbeekman f2306af
Ask people to document code w/ FORD in WORKFLOW.md
zbeekman 430ca51
Duplicate informational files in FORD
zbeekman 99d0f98
Documentation: Improve the specs landing page
zbeekman a2dfb48
Doc: Better section name in STYLE_GUIDE.md
zbeekman 8b25413
Doc: Format STYLE_GUIDE play nice w/ GFM & PyMD
zbeekman ba5f87c
Update WORKFLOW.md w/ link to specs doc online
zbeekman 5599033
Add warning & todo to main FORD pages directory
zbeekman 18f4845
Doc: Add todo section for missing specs
zbeekman 24f6b3e
Improve experimental_error doc & link w/ spec
zbeekman 96afebd
CI: Attempt to fix documentation build
zbeekman fa6d0f8
Fix artifact upload path
zbeekman 7732497
Fix broken spelling PR review
zbeekman 44a44f7
CI: fix attempt #2 for PR spelling review
zbeekman 1bb21d9
Fix typo
zbeekman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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,5 @@ | ||
--- | ||
title: Contributor Code of Conduct | ||
--- | ||
|
||
{!CODE_OF_CONDUCT.md!} |
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,5 @@ | ||
--- | ||
title: Fortran stdlib License (MIT) | ||
--- | ||
|
||
{!LICENSE!} |
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,12 @@ | ||
--- | ||
title: Style Guide | ||
--- | ||
|
||
@note | ||
This is a living document. | ||
You are welcome to propose changes to this workflow by opening an | ||
[issue](https://github.com/fortran-lang/stdlib/issues). | ||
|
||
[TOC] | ||
|
||
{!STYLE_GUIDE.md!} |
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,10 @@ | ||
--- | ||
title: Workflow for Contributors | ||
--- | ||
|
||
@note | ||
This is a living document. | ||
You are welcome to propose changes to this workflow by opening an | ||
[issue](https://github.com/fortran-lang/stdlib/issues). | ||
|
||
{!WORKFLOW.md!} |
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,11 @@ | ||
--- | ||
title: Specs, examples & user docs | ||
--- | ||
|
||
@warning | ||
This page is currently under construction! | ||
|
||
@todo | ||
Improve the title of this FORD "pages" section, and | ||
improve the organization of pages | ||
to separate end-user, high-level documentation and examples from developer documentation and specs. |
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,5 +1,35 @@ | ||
--- | ||
title: specs | ||
title: Specifications (specs) | ||
--- | ||
|
||
@todo Explain what these are, how to write them, why they're needed, etc. | ||
# Fortran stdlib Specifications (specs) | ||
|
||
This is and index/directory of the specifications (specs) for each new module/feature as described in the | ||
[workflow document](../Workflow.html). | ||
|
||
[TOC] | ||
|
||
## Experimental Features & Modules | ||
|
||
- [error](./stdlib_experimental_error.html) | ||
- Catching and handling errors | ||
- [IO](./stdlib_experimental_io.html) | ||
- Input/output helper & convenience | ||
- [linalg](./stdlib_experimental_linalg.html) | ||
- Linear Algebra | ||
- [optval](./stdlib_experimental_optval.html) | ||
- Fallback value for optional arguments | ||
- [quadrature](./stdlib_experimental_quadrature.html) | ||
- Numerical integration | ||
- [stats](./stdlib_experimental_stats.html) | ||
- Descriptive Statistics | ||
|
||
## Missing specs | ||
|
||
@todo | ||
Populate this section with a list of missing specs and link to their | ||
[sources on GH](https://github.com/fortran-lang/stdlib/tree/master/src). | ||
|
||
## Released/Stable Features & Modules | ||
|
||
- (None yet) |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jvdp1 I think you were asking about FORD linking syntax. Here (this file) are some examples.
Basically the syntax is put the thing to link to in double square brackets:
[[ ]]
. There is a left hand side and a right hand side separated by a colon (:
), but only the left hand side is needed. e.g.,[[stdlib_experimental_error]]
and[[stdlib_experimental_error(module)]]
would both link to the module page: https://stdlib.fortran-lang.org/module/stdlib_experimental_error.html. The parentheses are used to disambiguate the thing in question because you might have multiple entities of the same name in that scope, e.g., a user defined type and a function of the same name to use as a constructor. Unless there is ambiguity the stuff in parenthesis can be omitted. The right hand side (of the colon), if present will provide the text of the link, and link to the anchor for the RHS entity's entry on the LHS entity's page.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zbeekman for your explanations and example.