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

Docs: adds Docusaurus site #1113

Merged
merged 23 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5064ff1
docs:removing old framework
lukegalbraithrussell Jul 25, 2024
f92e690
docs:setting up docs files
lukegalbraithrussell Jul 25, 2024
ef39476
docs: now buildable
lukegalbraithrussell Jul 25, 2024
55e98c0
docs: adding temporary reference
lukegalbraithrussell Jul 26, 2024
fb6ac04
docs: remove temporary duplicated reference
lukegalbraithrussell Jul 26, 2024
ce7abbf
docs: renamed nested docs folder to content
lukegalbraithrussell Jul 26, 2024
45aabb5
docs: feedback from other pr
lukegalbraithrussell Jul 30, 2024
7ceb1fd
docs: broken link
lukegalbraithrussell Jul 30, 2024
624fe6c
docs: move reference folders over
lukegalbraithrussell Jul 30, 2024
55a5f16
docs: matching bolt-js
lukegalbraithrussell Jul 30, 2024
8080056
docs: package-lock refresh
lukegalbraithrussell Jul 30, 2024
7089a23
docs: change reference gen path
lukegalbraithrussell Jul 30, 2024
a64c7a8
Apply suggestions from eden
lukegalbraithrussell Jul 31, 2024
d642ba6
docs - feadback from zim
lukegalbraithrussell Jul 31, 2024
2e93c2b
docs - feedback from william regarding scripts
lukegalbraithrussell Jul 31, 2024
3ff3cc6
Update scripts/generate_api_docs.sh
lukegalbraithrussell Jul 31, 2024
cf451be
Update .github/maintainers_guide.md
lukegalbraithrussell Jul 31, 2024
528901b
docs - update path to reference
lukegalbraithrussell Jul 31, 2024
c5b1e2c
translated tutorials sidebar
lukegalbraithrussell Jul 31, 2024
c36b9be
docs - same redirect set up as bolt-js
lukegalbraithrussell Aug 1, 2024
7e10773
docs: remove dupe content
lukegalbraithrussell Aug 1, 2024
1f16536
Merge branch 'main' into luke-docs-overhaul
lukegalbraithrussell Aug 2, 2024
1353ce4
docs: matching bolt-js
lukegalbraithrussell Aug 2, 2024
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
Prev Previous commit
Next Next commit
docs - feadback from zim
  • Loading branch information
lukegalbraithrussell committed Jul 31, 2024
commit d642ba6d22b37b488393f526bdf51be22874c122
30 changes: 0 additions & 30 deletions .github/workflows/docs-build.yml

This file was deleted.

16 changes: 10 additions & 6 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ website/
β”œβ”€β”€ static/
lukegalbraithrussell marked this conversation as resolved.
Show resolved Hide resolved
β”‚ β”œβ”€β”€ css/
β”‚ β”‚ └── custom.css (the css for everything!)
β”‚ └── img/ (the pictures for the site)
β”‚ β”œβ”€β”€ rory.png
β”‚ └── oslo.svg
β”‚ β”œβ”€β”€ img/ (the pictures for the site)
β”‚ β”‚ β”œβ”€β”€ rory.png
β”‚ β”‚ └── oslo.svg
β”‚ └── api-docs/slack_bolt (the generated reference docs with their own HTML/CSS)
β”‚ β”œβ”€β”€ index.html
β”‚ └── adaptor
β”‚ └── index.html
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ pages/ (stuff that isn't docs. This is empty for every repo but homepage)
β”‚ └── theme (only contains the 404 page)
β”œβ”€β”€ docusaurus.config.js (main config file. also where to set navbar/footer)
└── redirects.js (a redirects script because the old site used # as pages which docusaurus can't handle)
β”œβ”€β”€ redirects.js (a redirects script because the old site used # as pages which docusaurus can't handle)
└── sidebar.js (manually set where the docs are in the sidebar.)
```

Expand Down Expand Up @@ -80,9 +84,9 @@ npm run start
open http://localhost:3000/bolt-python/getting-started # Visit a landing page
```

Edits to pages are reflected live β€” no restarting the server or reloading the page. (I'd say... 95% of the time, and 100% time if you're just editing a markdown file)
Edits to pages are reflected live β€” no restarting the server or reloading the page. (I'd say... 95% of the time, and 100% time if you're just editing a markdown file). The generated reference docs only load in prod!

Remember β€” you're only viewing the Bolt for Python docs right now. The links to the other docs won't show you the new version until deployment
Remember β€” you're only viewing the Bolt for Python docs right now.

#### Running locally in Japanese

Expand Down