Will Crichton
5584c79597
Update to latest rustc and rustdoc styles
2021-10-06 21:43:40 -07:00
Will Crichton
df5e3a6e40
Change serialized format to use DefPathHash instead of custom String
...
Move test to rustdoc-ui
Fix test writing to wrong directory
Formatting
Fix test
Add FIXME
Remove raw multiline strings
2021-10-06 19:45:25 -07:00
Will Crichton
5c05b3c03d
Add target crates as inputs to reduce size of intermediates
...
Add tests for module-path remapping and scrape example options
Find all crates with a given name
2021-10-06 19:45:25 -07:00
Will Crichton
829b1a9dd9
Incorporate jyn's feedback
...
* Move call location logic from function constructor to rendering
* Fix issue with macro spans in scraping examples
* Clean up example loading logic
Documentation / newtype for DecorationInfo
Fix line number display
Serialize edition of call site, other small cleanup
2021-10-06 19:45:23 -07:00
Will Crichton
55bb51786e
Move highlighting logic from JS to Rust
...
Continue migrating JS functionality
Cleanup
Fix compile error
Clean up the diff
Set toggle font to sans-serif
2021-10-06 19:44:50 -07:00
Will Crichton
eea8f0a39a
Sort examples by size
...
Improve styling
Start to clean up code, add comments
2021-10-06 19:44:50 -07:00
Will Crichton
b6338e7792
Generate example source files with corresponding links
...
Add display name
Fix remaining merge conflicts
Only embed code for items containing examples
2021-10-06 19:44:50 -07:00
Will Crichton
2855bf039a
Factor scraping and rendering into separate calls to rustdoc
...
Simplify toggle UI logic, add workspace root for URLs
2021-10-06 19:44:50 -07:00
Will Crichton
7831fee9f8
Fix check issue
...
Clean up tidy checks
2021-10-06 19:44:50 -07:00
Will Crichton
4b3f82ad03
Add updated support for example-analyzer
...
Move rendering of examples into
Finalize design
Cleanup, rename found -> scraped
Softer yellow
Clean up dead code
Document scrape_examples
More simplification and documentation
Remove extra css
Test
2021-10-06 19:44:47 -07:00