Skip to content

Commit

Permalink
doc: align folder structure (#61)
Browse files Browse the repository at this point in the history
* doc: align folder structure

Moved doc files into a new structure.
Edited workflow files accordingly.

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>

* Feat: update shared

* update zoomin python script

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>

---------

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>
Co-authored-by: Kyle Micallef Bonnici <kyle.bonnici@nordicsemi.no>
  • Loading branch information
greg-fer and kylebonnici authored Dec 18, 2023
1 parent 38e458a commit 2b4f934
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zoomin-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- docs
- doc/docs
workflow_dispatch:

jobs:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/zoomin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@ jobs:
- uses: actions/checkout@v3

- name: Copy zoomin properties
run: cp docs/zoomin/* .

- name: Replace index.md
run: cp docs/zoomin/index.md docs/index.md
run: |
cp doc/zoomin/custom.properties doc/ \
&& cp doc/zoomin/tags.yml doc/
- name: Create zip file
run: |
zip -r nrf-connect-serial-terminal.zip \
docs mkdocs.yml custom.properties tags.yml \
-x@docs/zoomin/ignore.txt
cd doc/ \
&& zip -r ../nrf-connect-serial-terminal.zip \
docs/* mkdocs.yml custom.properties tags.yml
- name: Upload documentation artifact
uses: actions/upload-artifact@v3
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"prepare": "husky install"
},
"devDependencies": {
"@nordicsemiconductor/pc-nrfconnect-shared": "^142.0.0",
"@nordicsemiconductor/pc-nrfconnect-shared": "^143.0.0",
"ansi-escapes": "^4.3.2",
"serialport": "^10.5.0",
"xterm-addon-fit": "^0.8.0",
Expand Down

0 comments on commit 2b4f934

Please sign in to comment.