-
Notifications
You must be signed in to change notification settings - Fork 187
Zb documentation #184
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
Closed
Closed
Zb documentation #184
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1d4e930
Add automatic API-doc generation & deployment
zbeekman 09bc276
Fix bad action name
zbeekman ded1f63
Move specs into FORD pages specs dir
zbeekman 6c9c2bb
Update specs w/ title meta data and automated TOC
zbeekman 5e9c5e7
Add note about navbar to FORD API doc landing page
zbeekman b22b6e6
Add favicon
zbeekman 703c17e
`@info` -> `@note` & shorten pages titlebar name
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 hidden or 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,60 @@ | ||
name: Build and Deploy Documents | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
LANG: "en_US.UTF-8" | ||
LC_ALL: "en_US.UTF-8" | ||
HOMEBREW_DISPLAY_INSTALL_TIMES: "ON" | ||
HOMEBREW_NO_ANALYTICS: "ON" | ||
HOMEBREW_NO_AUTO_UPDATE: "ON" | ||
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON" | ||
HOMEBREW_NO_GITHUB_API: "ON" | ||
HOMEBREW_NO_INSTALL_CLEANUP: "ON" | ||
PIP_DISABLE_PIP_VERSION_CHECK: "ON" | ||
PIP_NO_CLEAN: "ON" | ||
PIP_PREFER_BINARY: "ON" | ||
TZ: "UTC" | ||
|
||
jobs: | ||
Build-API-Docs: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # Full history to get tag and commit info | ||
- name: Install Dependencies | ||
run: | | ||
pip3 install --prefer-binary --no-clean --disable-pip-version-check --progress-bar off lxml fypp | ||
brew install -f --force-bottle --keep-tmp ford | ||
type -a ford | ||
ford --version | ||
gfortran --version | ||
- name: Build Docs | ||
run: | | ||
git fetch --all --tags | ||
ford -r $(git describe --always) --debug API-doc-FORD-file.md | ||
zip -vr API-docs.zip API-doc/ -x "*.DS_Store" | ||
- name: Upload Documentation | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FORD-API-docs | ||
path: ./API-docs.zip | ||
- name: Broken Link Check | ||
uses: technote-space/broken-link-checker-action@v1 | ||
with: | ||
TARGET: file://${{ github.workspace }}/API-doc/index.html | ||
RECURSIVE: true | ||
ASSIGNEES: ${{ github.actor }} | ||
- name: Deploy API Docs | ||
uses: peaceiris/actions-gh-pages@v3 | ||
# if: github.event_name == 'push' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/master' ) | ||
with: | ||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
external_repository: fortran-lang/stdlib-docs | ||
publish_dir: ./API-doc | ||
publish_branch: master | ||
allow_empty_commit: true | ||
force_orphan: false | ||
user_name: ${{ github.actor }} | ||
commit_message: "From https://github.com/${{ github.repository }}/commit/${{ github.sha }} ${{ github.ref }}" |
This file contains hidden or 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 hidden or 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,58 @@ | ||
--- | ||
project: Fortran-lang/stdlib | ||
summary: A community driven standard library for (modern) Fortran | ||
src_dir: src | ||
exclude_dir: src/tests | ||
output_dir: API-doc | ||
page_dir: doc | ||
media_dir: doc/media | ||
fpp_extensions: fypp | ||
preprocess: true | ||
macro: MAXRANK=4 | ||
preprocessor: fypp | ||
display: public | ||
protected | ||
private | ||
source: true | ||
proc_internals: true | ||
md_extensions: markdown.extensions.toc | ||
graph: true | ||
graph_maxnodes: 200 | ||
graph_maxdepth: 5 | ||
coloured_edges: true | ||
sort: permission-alpha | ||
extra_mods: iso_fortran_env:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html | ||
iso_c_binding:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fC_005fBINDING.html#ISO_005fC_005fBINDING | ||
print_creation_date: true | ||
creation_date: %Y-%m-%d %H:%M %z | ||
project_github: https://github.com/fortran-lang/stdlib | ||
project_download: https://github.com/fortran-lang/stdlib/archive/master.zip | ||
project_website: https://stdlib.fortran-lang.org | ||
favicon: doc/media/favicon.ico | ||
license: by-sa | ||
author: fortran-lang/stdlib contributors | ||
author_pic: https://fortran-lang.org/assets/img/fortran_logo_512x512.png | ||
author_email: [email protected] | ||
github: https://github.com/fortran-lang | ||
twitter: https://twitter.com/fortranlang | ||
website: https://fortran-lang.org | ||
dbg: true | ||
--- | ||
|
||
[TOC] | ||
|
||
@warning This API documentation for the Fortran-lang/stdlib is a work in progress | ||
|
||
@note | ||
Use the navigation bar at the top of the screen to browse modules, procedures, source files, etc. | ||
The listings near the bottom of the page are incomplete. | ||
|
||
Fortran stdlib API Documentation | ||
================================ | ||
|
||
This the main API documentation landing page generated by [FORD]. | ||
The documentation for comment markup in source code, running [FORD] and the [FORD project file] are all maintained on the [FORD wiki]. | ||
|
||
[FORD]: https://github.com/Fortran-FOSS-Programmers/ford#readme | ||
[FORD wiki]: https://github.com/Fortran-FOSS-Programmers/ford/wiki | ||
[FORD project file]: https://github.com/fortran-lang/stdlib/blob/master/API-doc-FORD-file.md |
This file contains hidden or 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,7 @@ | ||
--- | ||
title: Fortran stdlib API | ||
--- | ||
|
||
# Fortran stdlib API | ||
|
||
TODO | ||
@todo expand or remove |
This file contains hidden or 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,3 @@ | ||
--- | ||
title: Specs, examples & user docs | ||
--- |
Binary file not shown.
This file contains hidden or 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: specs | ||
--- | ||
|
||
@todo Explain what these are, how to write them, why they're needed, etc. |
8 changes: 5 additions & 3 deletions
8
src/stdlib_experimental_error.md → doc/specs/stdlib_experimental_error.md
This file contains hidden or 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
8 changes: 5 additions & 3 deletions
8
src/stdlib_experimental_io.md → doc/specs/stdlib_experimental_io.md
This file contains hidden or 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
8 changes: 5 additions & 3 deletions
8
src/stdlib_experimental_linalg.md → doc/specs/stdlib_experimental_linalg.md
This file contains hidden or 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
6 changes: 5 additions & 1 deletion
6
src/stdlib_experimental_optval.md → doc/specs/stdlib_experimental_optval.md
This file contains hidden or 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
9 changes: 5 additions & 4 deletions
9
src/stdlib_experimental_quadrature.md → doc/specs/stdlib_experimental_quadrature.md
This file contains hidden or 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
10 changes: 5 additions & 5 deletions
10
src/stdlib_experimental_stats.md → doc/specs/stdlib_experimental_stats.md
This file contains hidden or 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.
[misspell] reported by reviewdog 🐶
"coloured" is a misspelling of "colored"