Skip to content

docs: Add sphinx docs#318

Merged
tore-espressif merged 80 commits intomasterfrom
docs/sphinx
Dec 8, 2025
Merged

docs: Add sphinx docs#318
tore-espressif merged 80 commits intomasterfrom
docs/sphinx

Conversation

@tore-espressif
Copy link
Collaborator

@tore-espressif tore-espressif commented Nov 12, 2025

suda-morris and others added 30 commits July 22, 2021 10:43
1. Renamed SOC_USB_SUPPORTED to SOC_USB_OTG_SUPPORTED for the reason of
   another USB related peripheral: USB_JTAG_SERIAL
2. correct related document
- This commit adds the API documentation for the USB Host Library.
- Warnings about the beta API are also added.
- usb_host_misc.h renamed to usb_helpers.h
This commit adds the USB Host Library documentation and fixes some nitpicks
in the Host Stack types.

Closes espressif/esp-idf#6408
USB: Host stack cleanup and QOL update

Closes IDFGH-6120, IDF-2747, IDFGH-4592, and IDFGH-6402

See merge request espressif/esp-idf!16349
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.

Closes espressif/esp-idf#7747
updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst

Closes DOC-3565

See merge request espressif/esp-idf!20144
This commit adds some parts of the USB Host Stack's maintainers notes
(specifically "Introduction" and "DWC_OTG Controller" chapters).
USB Dev: Integrate SD MMC Card as a storage media that is accessed by USB-host as a USB Mass Storage Device

Closes IDF-6545 and IDFGH-9040

See merge request espressif/esp-idf!21679
This commit adds some parts of the USB Host Stack's maintainers notes
(specifically "Design" and "Architecture").
…eration

This commit updates some comments and documentation regarding changes made in
PR espressif/esp-idf#11113.
Fix usb enumeration stage error for some device (GitHub PR)

Closes IDFGH-9778

See merge request espressif/esp-idf!23233
Docs: update CN translation for esp_http_client.rst, external-ram.rst, bootloader.rst

Closes DOC-4934

See merge request espressif/esp-idf!23136
usbd: add usb composite device example

Closes IDFGH-9035

See merge request espressif/esp-idf!23135
@tore-espressif tore-espressif changed the title WIP docs: Add skeleton for GitHub Actions workflow to build docs docs: Add sphinx docs Dec 2, 2025
@tore-espressif
Copy link
Collaborator Author

@peter-marcisovsky @igi540 This is minimum viable PR that deploy USB documentation to docs.espressif.com. On pushes to master, the webpage is deployed, for PR it is deployed to preview server, eg here https://preview-docs.espressif.com/projects/esp-usb/en/318-merge/esp32p4/index.html

  • After this is merged, we can extend with generated doxygen API documentation and class driver docs.
  • During the review, you don't have to pay too much attention to *.rst file, they are copied from esp-idf.
  • Do you think anything is missing from this initial docs deployment?

@tore-espressif tore-espressif marked this pull request as ready for review December 2, 2025 18:14
Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving some comment, nothing blocking. The documentation preview looks nice

Copy link
Collaborator Author

@tore-espressif tore-espressif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peter-marcisovsky Thank you for the review! Will follow-up ASAP

@tore-espressif
Copy link
Collaborator Author

@peter-marcisovsky @igi540 Thank you very much for taking a look!

I resolved all comments apart from missing git history, will do that soon.

I also added doxygen generated API to the docs, so now everything should be ready.

All changes kept in one commit for easy review 9c91ca4

Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One Q about CI: Did you try to fail the docs build on purpose? To test whether the falied command ./build_docs.sh, makes the CI to fail as well?

I remember that I needed to return 0 or 1 from an .sh script to make the CI pass/fail when I was using script to run host tests here

But maybe the build-docs already returns a value..

Otherwise LGTM.

@tore-espressif tore-espressif merged commit 9542132 into master Dec 8, 2025
67 checks passed
@tore-espressif tore-espressif deleted the docs/sphinx branch December 8, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.