-
-
Notifications
You must be signed in to change notification settings - Fork 0
docs #22
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
base: master
Are you sure you want to change the base?
docs #22
Changes from 11 commits
4cd9a70
cb8bc18
8c2635f
44ddffa
7f30c46
14494db
5d8106b
8437acd
5777125
69dacb4
a0f8b37
06debb5
576b303
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,7 @@ | ||||||
| name: Documentation Build and Production Deploy CI | ||||||
|
|
||||||
| on: | ||||||
| workflow_dispatch: | ||||||
| workflow_run: | ||||||
| workflows: ["ESP32 Arduino Release"] | ||||||
| types: | ||||||
|
|
@@ -9,6 +10,7 @@ on: | |||||
| branches: | ||||||
| - release/v2.x | ||||||
| - master | ||||||
| - docs-embed | ||||||
|
||||||
| - docs-embed |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repository check has been commented out, which means this workflow will now run on forks. This could be intentional for testing, but in production, this should typically remain uncommented to prevent unnecessary workflow runs on forks. Consider whether this change is intentional or if it should be reverted before merging.
| # if: github.repository == 'espressif/arduino-esp32' | |
| if: github.repository == 'espressif/arduino-esp32' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -509,3 +509,15 @@ Here is an example of how to use the I2C in Slave Mode. | |
| :language: arduino | ||
|
|
||
| .. _Arduino Wire Library: https://www.arduino.cc/en/reference/wire | ||
|
|
||
|
|
||
| External libraries - examples | ||
| ***************************** | ||
|
|
||
|
|
||
| LiquidCrystal_I2C | ||
| ^^^^^^^^^^^^^^^^^ | ||
|
|
||
| This example demonstrates how to use the `LiquidCrystal_I2C`_ library to control an LCD display via I2C. | ||
|
||
|
|
||
| .. wokwi-example:: libraries/Wire/examples/LiquidCrystal_I2C | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -424,6 +424,9 @@ The ``ci.yml`` file is used to specify how the test suite and sketches will hand | |
| Libraries are installed using the ``arduino-cli lib install`` command, so you can specify libraries by name + version (e.g., ``[email protected]``) | ||
| or by URL (e.g., ``https://github.com/arduino-libraries/WiFi101.git``). | ||
| More information can be found in the `Arduino CLI documentation <https://arduino.github.io/arduino-cli/1.3/commands/arduino-cli_lib_install/>`_. | ||
| * ``upload-binary``: This directive is used ESP-DOCS - Docs Embed to integrate Wokwi simulations into the documentation. | ||
| Together with custom Sphinx plugin and its directives, it allows embedding Wokwi simulator into the documentation pages with pre-compiled binaries. | ||
| For more information, please refer to the `ESP-DOCS - Docs Embed contributing guide <https://docs.espressif.com/projects/esp-docs/en/latest/writing-documentation/docs-embed.html>`_. | ||
|
|
||
| The ``wifi`` test suite is a good example of how to use the ``ci.yml`` file: | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,9 @@ | ||||||
| sphinx==4.5.0 | ||||||
| esp-docs>=1.4.0 | ||||||
| sphinx~=7.1.2 | ||||||
|
|
||||||
| esp-docs @ git+https://github.com/JakubAndrysek/esp-docs.git@extensions/wokwi_embed | ||||||
|
||||||
| esp-docs @ git+https://github.com/JakubAndrysek/esp-docs.git@extensions/wokwi_embed | |
| esp-docs @ git+https://github.com/JakubAndrysek/esp-docs.git@<commit-hash> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The branch name
docs-embedhas been added to the workflow triggers. This appears to be a development/feature branch. Before merging to production, consider whether this branch should remain in the trigger list or if it should be removed to keep the workflow running only on the main branches (master, release/v2.x).