-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- docs now includes metdata for version of code they were built from - removed empty supported platforms doc - neatened up and fixed errors on installing.md (and in asset chooser) - added a readme to the doc folder - added alternate method of retrieving branch name in git_version script
- Loading branch information
Showing
12 changed files
with
171 additions
and
1,932 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
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 +1,6 @@ | ||
_exported | ||
_exported | ||
|
||
# apMetadata json is templated so we only want to store defaults and ignore future changes | ||
apMetadata.json | ||
|
||
verbose |
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,70 @@ | ||
# AP.exe docs | ||
|
||
We use a tool called [DocFX](https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html) to generate these docs. | ||
|
||
You can use this tool locally to see what your documentation looks like. | ||
|
||
To install: | ||
|
||
```powershell | ||
choco install docfx -y | ||
``` | ||
|
||
To generate the docs: | ||
|
||
```powershell | ||
cd docs | ||
docfx build | ||
``` | ||
Notes: | ||
- If there are any errors or warnings they need to be fixed before your changes are committed. | ||
- You **must rebuild** after changes to see the updated preview | ||
|
||
To preview (from audio-analysis repo root), run the _serve_ command in a separate terminal: | ||
|
||
```powershell | ||
cd _site | ||
docfx serve | ||
``` | ||
|
||
Then visit the url in your browser, typically <http://localhost:8080>. | ||
|
||
## Layout | ||
|
||
The documentation is layed out into several areas: | ||
|
||
- **basics**: include introductory topics, like downloading, installing, and general bit of information | ||
- **theory**: is reserved for pages discussing theory like: | ||
- how audio algorithms work | ||
- how noise removal works | ||
- what the indices are | ||
- how indices are calculated | ||
- which event detection algorithms we have | ||
- **guides**: short form workflows | ||
- if I have audio and I want a spectrogram I do ... | ||
- if I have audio and I want a FCS I do ... | ||
- if I have indices and I want FCS I do... | ||
- if I have segmented FCS/indices and I want them joined i do... | ||
- **tutorials**: Reserved for detailed lessons | ||
- **FAQ**: as you expect, duplicated in basics | ||
- **Articles**: news/blog posts etc | ||
- **Documentation**: is the _technical_ folder and hides anything that is too technical for general users | ||
|
||
## Contributing guidelines | ||
|
||
- the `docfx` build must produce no errors or warnings | ||
- do not duplicate content | ||
- use cross references to refer to content in other parts of the site | ||
- if something is common you can reactor it out into it's own fragment and | ||
include the result in both places | ||
- cross reference things as much as possible | ||
- the target document should have a `uid` entry at the top of the file (looks for other examples) | ||
- you can use `<xref:some-uid>` to reference the target | ||
|
||
## Publish docs | ||
|
||
Use `../build/generate_docs.ps1` and then `../build/publish_docs.ps1.` | ||
|
||
Note the `NETLIFY_AUTH_TOKEN` environment variable must be defined. | ||
|
||
This file is not published with the docs. |
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
Empty file.
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,19 @@ | ||
|
||
<footer> | ||
<div class="grad-bottom"></div> | ||
<div class="footer"> | ||
<div class="container"> | ||
<div style="display:flex;justify-content:space-between"> | ||
{{{_appFooter}}} | ||
{{^_appFooter}}<span>Generated by <strong>DocFX</strong></span>{{/_appFooter}} | ||
<span> | ||
AP docs version: <a href="{{{_gitContribute.repo}}}/tree/{{{AP_CommitHash}}}" >{{{AP_InformationalVersion}}}</a> | ||
</span> | ||
<span class=""> | ||
<a href="#top">Back to top</a> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
<meta name="date" itemprop="date" content="{{{AP_BuildDate}}}"/> |
Oops, something went wrong.