Skip to content

Conversation

@d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Dec 17, 2025

d-ronnqvist and others added 12 commits December 17, 2025 09:42
…ftlang#1369)

* Add a new target for rendering content into static HTML

rdar://163326857

* Include documentation comments with examples for the various `visit(_:)` methods.

* Document what a `LinkedAsset` represents

* Add code comments to explain how the inline HTML markup is parsed

* Don't lowercase anchors for self-referencing headings

* Avoid nested scopes when switching over names

* Add a code comment about what an "autolink" is
…ng#1378)

* Add a helper function for rendering page breadcrumbs as HTML

rdar://163326857

* Apply wording suggestion in documentation comment

Co-authored-by: Joseph Heck <j_heck@apple.com>

---------

Co-authored-by: Joseph Heck <j_heck@apple.com>
…ftlang#1377)

* Add a helper function for rendering a parameters section as HTML

rdar://163326857

* Apply wording suggestions in documentation comments

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
Co-authored-by: Joseph Heck <j_heck@apple.com>

* Add TODO comment about a debug assertion for the parameter name order

---------

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
Co-authored-by: Joseph Heck <j_heck@apple.com>
…wiftlang#1379)

* Add test about parsing inline HTML except for comments

* Extract inner HTML parsing code into a private function

* Fix minor spelling in code comment

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>

---------

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
…lang#1381)

* Add a helper function for rendering a returns sections as HTML

rdar://163326857

* Minor phrasing updates to the parameter section helper's documentation

* Add new source file to Windows CMake file list

* Correct grammar in documentation comments

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>

---------

Co-authored-by: Pat Shaughnessy <pat_shaughnessy@apple.com>
…tlang#1384)

* Add a helper function for rendering symbol declarations as HTML

rdar://163326857

* Add code comments to describe why the concise declaration:
  - Only includes the primary language
  - Joins the declaration fragments into a single string
…wiftlang#1382)

* Add a helper function for rendering a Topics/SeeAlso section as HTML

rdar://163326857

* Add more code comments and internal documentation comments

* Very slightly correct the test data
…swiftlang#1383)

* Minimally integrate per-page HTML content into each "index.html" file

rdar://163326857

* Extract some common code into private helpers

* Move a few common checks into the new private helpers
…ftlang#1388)

* Add a helper function for rendering a discussion section as HTML

rdar://163326857

* Integrate the discussion section in the HTML renderer
* Include more page content in the HTML output

* Also add deprecation summaries to the HTML output
@d-ronnqvist d-ronnqvist marked this pull request as ready for review December 17, 2025 09:07
@d-ronnqvist
Copy link
Contributor Author

I started a cross-repo test of these changes in swiftlang/swift#84510 to double check that they don't have any impact on the rest of the toolchain (which has already been verified on DocC's main branch).

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit 590f6d5 into swiftlang:release/6.3 Dec 17, 2025
2 checks passed
@d-ronnqvist d-ronnqvist deleted the output-html-6.3 branch December 17, 2025 14:52
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.

2 participants