Skip to content
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

Add User Guide #273

Merged
merged 78 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
c1a42f9
Update readme MacOS M1 instructions
Jake-Carter Nov 21, 2022
7a1fb9d
Port updated installer UG Rev1 to markdown
Jake-Carter Nov 23, 2022
73d31a6
Add User Guide (preliminary)
Jake-Carter Nov 29, 2022
2fefae2
Add BSP table, improve BSP docs
Jake-Carter Nov 29, 2022
a245293
Edit BSP table
Jake-Carter Nov 29, 2022
e7ef98d
Simplify getting started content, start full project doc sections
Jake-Carter Nov 29, 2022
15b96d8
Move Build System
Jake-Carter Nov 29, 2022
80e3e4e
Update BSP section
Jake-Carter Nov 29, 2022
9bf8c66
Add peripheral API section, add some missing options in build config …
Jake-Carter Nov 29, 2022
5df5362
Fix image alignment
Jake-Carter Nov 29, 2022
73e31aa
Add Libraries section
Jake-Carter Nov 29, 2022
0dfed35
Use new project as primary for Eclipse, update maintenance section
Jake-Carter Nov 30, 2022
5064315
Update quickstarts, update command-line info
Jake-Carter Nov 30, 2022
3631dd3
Add image
Jake-Carter Nov 30, 2022
78d0c85
Clean up readme to point to UG, update command-line setup
Jake-Carter Nov 30, 2022
434c0ba
Create build-docs
Jake-Carter Dec 1, 2022
956688a
Create build-docs.yml
Jake-Carter Dec 1, 2022
ea35f10
Update build-docs.yml
Jake-Carter Dec 1, 2022
93391ba
Merge remote-tracking branch 'origin' into dev/userguide
Jake-Carter Dec 1, 2022
d7918b5
Add build docs workflow
Jake-Carter Dec 1, 2022
105d2e7
Build and deploy pages in Github action
Jake-Carter Dec 1, 2022
f70f284
Set id-token permissions
Jake-Carter Dec 1, 2022
eda7c9e
Set pages permissions
Jake-Carter Dec 1, 2022
63ad607
Deploy to gh-pages branch
Jake-Carter Dec 1, 2022
8926f89
Fix formatting errors
Jake-Carter Dec 1, 2022
65283ed
Add contributing to docs
Jake-Carter Dec 1, 2022
ea4f155
Update CONTRIBUTING formatting
Jake-Carter Dec 1, 2022
6dc4c11
Add Peripheral driver API to UG and docs build
Jake-Carter Dec 1, 2022
14dfaa6
Fix workflow syntax
Jake-Carter Dec 1, 2022
9af7579
Update gitignore
Jake-Carter Dec 1, 2022
f1ef630
Create parent directory
Jake-Carter Dec 1, 2022
a0fcd75
Fix typo
Jake-Carter Dec 1, 2022
b26f917
Deploy from 'docs' dir
Jake-Carter Dec 1, 2022
53a5320
Fix API links
Jake-Carter Dec 1, 2022
211a7ee
Fix Periph API links
Jake-Carter Dec 1, 2022
35f13f7
Remove test nav section
Jake-Carter Dec 1, 2022
86d2cb7
Update index
Jake-Carter Dec 1, 2022
c9ca9ef
Match supported parts to BSP section, list status for some parts
Jake-Carter Dec 1, 2022
2219216
Update Figure 8
Jake-Carter Dec 1, 2022
344154e
Fix indentation level
Jake-Carter Dec 1, 2022
3eb0bed
Remove duplicate files, manage them in the Action
Jake-Carter Dec 1, 2022
582007e
Deploy entire repo to gh-pages branch
Jake-Carter Dec 1, 2022
f454918
Only deploy from docs folder
Jake-Carter Dec 1, 2022
6166a57
Rename API References -> API Reference Manuals
Jake-Carter Dec 1, 2022
cd8a4b5
Remove local links
Jake-Carter Dec 1, 2022
4c3e09e
Fix formatting bug
Jake-Carter Dec 1, 2022
7deb330
Clean up links, remove username from logs
Jake-Carter Dec 1, 2022
44b2cfc
Usage -> Project Management
Jake-Carter Dec 5, 2022
1118e40
Fix formatting
Jake-Carter Dec 5, 2022
232249b
Separate build vs deploy, only deploy on release
Jake-Carter Dec 5, 2022
76a0e2c
Update deploy-docs.yml
Jake-Carter Dec 5, 2022
5e1ed4a
Update gitignore
Jake-Carter Dec 5, 2022
1d6d267
Make Deploy Sequential
Jake-Carter Dec 5, 2022
cdaef1e
Try build as a step
Jake-Carter Dec 5, 2022
b7d5fda
Merge branch 'dev/userguide' of github.com:Jake-Carter/msdk into dev/…
Jake-Carter Dec 5, 2022
bd41f10
Revert "Try build as a step"
Jake-Carter Dec 5, 2022
2013690
Upload artifact
Jake-Carter Dec 5, 2022
69f8929
Download artifact
Jake-Carter Dec 5, 2022
f940078
Make Deploy Sequential
Jake-Carter Dec 5, 2022
7fb88de
Try build as a step
Jake-Carter Dec 5, 2022
d2a875a
Revert "Try build as a step"
Jake-Carter Dec 5, 2022
a44592c
Build and deploy in same workflow, only trigger on release
Jake-Carter Dec 5, 2022
6185d2e
Rename workflow
Jake-Carter Dec 5, 2022
a9815f5
Merge branch 'dev/userguide' of github.com:Jake-Carter/msdk into dev/…
Jake-Carter Dec 5, 2022
1af5514
Only deploy docs on push to release, not PR
Jake-Carter Dec 5, 2022
4d8c03b
Use MAX32xxx instead of MAX-series
Jake-Carter Dec 5, 2022
5881f02
Add Github repo and copyright
Jake-Carter Dec 6, 2022
995121c
Add build script for docs
Jake-Carter Dec 6, 2022
87c6fd4
Improve readability of supported parts
Jake-Carter Dec 6, 2022
898f096
Start docs on docs
Jake-Carter Dec 6, 2022
b921d06
Add docs for your docs
Jake-Carter Dec 6, 2022
251c7af
Move UG resources into Documentation folder
Jake-Carter Dec 14, 2022
d1563ac
Use analog.com links
Jake-Carter Dec 14, 2022
49ec45f
Fixed typo
Jake-Carter Dec 14, 2022
8b2beeb
Rename 'Project Management' -> 'Development Guide'
Jake-Carter Dec 14, 2022
bfc2edf
Update index
Jake-Carter Dec 14, 2022
b5aa5a3
Add license to nav
Jake-Carter Dec 14, 2022
f092511
Fix BSP table
Jake-Carter Dec 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 143 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
name: Build & Deploy Docs

# Controls when the workflow will run
on:
push:
branches: [ "release" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/[email protected]
with:
cache: pip

- name: Install mkdocs
run: pip install mkdocs

- name: Doxygen (MAX32520)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32520_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32650)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32650_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32655)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32655_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32660)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32660_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32665)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32665_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32670)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32670_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32672)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32672_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32675)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32675_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX32680)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max32680_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX78000)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max78000_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Doxygen (MAX78002)
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: max78002_Doxyfile
# Working directory
working-directory: Libraries/PeriphDrivers/Documentation

- name: Build User Guide
run: | # Build Documentation Folder and run mkdocs
SOURCE=Libraries/PeriphDrivers/Documentation
DEST=Documentation/$SOURCE

echo "Copying Periph Driver APIs..."
mkdir -p $DEST/MAX32520 && cp -r $SOURCE/MAX32520 $DEST/
mkdir -p $DEST/MAX32650 && cp -r $SOURCE/MAX32650 $DEST/
mkdir -p $DEST/MAX32655 && cp -r $SOURCE/MAX32655 $DEST/
mkdir -p $DEST/MAX32660 && cp -r $SOURCE/MAX32660 $DEST/
mkdir -p $DEST/MAX32665 && cp -r $SOURCE/MAX32665 $DEST/
mkdir -p $DEST/MAX32670 && cp -r $SOURCE/MAX32670 $DEST/
mkdir -p $DEST/MAX32672 && cp -r $SOURCE/MAX32672 $DEST/
mkdir -p $DEST/MAX32675 && cp -r $SOURCE/MAX32675 $DEST/
mkdir -p $DEST/MAX32680 && cp -r $SOURCE/MAX32680 $DEST/
mkdir -p $DEST/MAX78000 && cp -r $SOURCE/MAX78000 $DEST/
mkdir -p $DEST/MAX78002 && cp -r $SOURCE/MAX78002 $DEST/

echo "Copying any root markdown files into Documentation..."
cp -r *.md Documentation/

mkdocs build

- name: Publish
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # Deploy the built docs folder
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Examples/*/*/*/buildrv
.vscode/settings.json
Libraries/PeriphDrivers/bin/MAX78000/softfp/libPeriphDriver_softfp.a
Libraries/PeriphDrivers/bin/MAX78000/softfp_riscv/libPeriphDriver_softfp.a
Libraries/PeriphDrivers/Documentation/MAX*
docs
Documentation/Libraries
Examples/MAX78000/PowerTest
__pycache__
msdk-internal
Expand All @@ -14,6 +17,7 @@ Tools/GNUTools
Tools/OpenOCD
Tools/xPack
Tools/OpenOCD
Tools/MSYS2
*.o
*.d
/**/make.log
Expand Down
Loading