Skip to content

Commit 3f541c9

Browse files
committed
Docs: doxygen-based
1 parent e62987f commit 3f541c9

31 files changed

+220
-972
lines changed

.github/workflows/pages.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2-
name: Deploy Jekyll site to Pages
1+
# Sample workflow for building and deploying a Doxygen site to GitHub Pages
2+
name: Deploy Doxygen site to Pages
33

44
on:
55
push:
@@ -18,31 +18,26 @@ concurrency:
1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
21-
env:
22-
BUNDLE_GEMFILE: ${{ github.workspace }}/Docs/Gemfile
2321
steps:
2422
- name: Checkout
2523
uses: actions/checkout@v3
26-
- name: Setup Ruby
27-
uses: ruby/setup-ruby@v1
28-
with:
29-
ruby-version: '3.0' # Not needed with a .ruby-version file
30-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
31-
cache-version: 0 # Increment this number if you need to re-download cached gems
24+
- name: Setup Doxygen
25+
run: |
26+
sudo apt update
27+
sudo apt install doxygen
3228
- name: Setup Pages
3329
id: pages
3430
uses: actions/configure-pages@v2
3531
- name: Build with Jekyll
3632
# Outputs to the './_site' directory by default
3733
run: |
3834
cd Docs
39-
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
40-
env:
41-
JEKYLL_ENV: production
35+
git submodule update --init
36+
doxygen
4237
- name: Upload artifact
4338
uses: actions/upload-pages-artifact@v1
4439
with:
45-
path: "Docs/_site"
40+
path: "Docs/html"
4641

4742
deploy:
4843
environment:

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "Firmware/pico-sdk"]
55
path = Firmware/pico-sdk
66
url = https://github.com/raspberrypi/pico-sdk
7+
[submodule "Docs/doxygen-awesome-css"]
8+
path = Docs/doxygen-awesome-css
9+
url = https://github.com/jothepro/doxygen-awesome-css.git

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

Docs/.gitignore

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
# Copied from https://github.com/github/gitignore/blob/main/Jekyll.gitignore
2-
# Ignore metadata generated by Jekyll
3-
_site/
4-
.sass-cache/
5-
.jekyll-cache/
6-
.jekyll-metadata
7-
8-
# Ignore folders generated by Bundler
9-
.bundle/
10-
vendor/
1+
html
2+
latex

Docs/Doxyfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
PROJECT_NAME = "pico-ice"
2+
PROJECT_BRIEF = RaspberryPi Pico with an iCE40 FPGA
3+
OPTIMIZE_OUTPUT_FOR_C = YES
4+
SHOW_FILES = NO
5+
SHOW_NAMESPACES = NO
6+
INPUT = ../ ../doc/ ../include
7+
EXCLUDE = ../CONTRIBUTING.md ../LICENSE.md ../CHANGELOG.md ../README.md
8+
IMAGE_PATH = images pinout
9+
USE_MDFILE_AS_MAINPAGE = index.md
10+
HTML_FOOTER = footer.html
11+
HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css
12+
HTML_COLORSTYLE = LIGHT
13+
DISABLE_INDEX = NO
14+
GENERATE_TREEVIEW = YES
15+
FULL_SIDEBAR = YES

Docs/DoxygenLayout.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<doxygenlayout version="1.0">
3+
<navindex>
4+
<tab type="mainpage" title="Home"/>
5+
<tab type="pages" title="Wiki"/>
6+
<tab type="topics" title="SDK API"/>
7+
<tab type="user" title="Examples" url="https://github.com/tinyvision-ai-inc/pico-ice-sdk/tree/main/examples"/>
8+
</navindex>
9+
</doxygenlayout>

Docs/Gemfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

Docs/Gemfile.lock

Lines changed: 0 additions & 79 deletions
This file was deleted.

Docs/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

Docs/_config.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)