Comments (8)
Thanks, @claremacrae for pointing that out.
Fixed by c74fb33
from ut.
Thanks @krzysztof-jusiak - having seen the result, I think it would really benefit from a table of contents now, ideally including levels 1 and 2, so users can quickly see the structure, and still jump to bits they are interested in.
from ut.
I don't really understand the intention of 02ca5a4 - but it seems to have reverted the fix for this issue - almost all the sections are closed again, as far as I can see, so I think this issue should be re-opened.
from ut.
Here are some examples of tables of contents in Markdown pages - so the full text is searchable on the page, and users can quickly see the structure and type of content, and also jump to a particular section very quickly:
- https://github.com/catchorg/Catch2/blob/master/docs/tutorial.md
- https://github.com/approvals/ApprovalTests.cpp#top
from ut.
I don't really understand the intention of 02ca5a4
Ah right, now I understand - it has almost reverted to the original behaviour, but it has opened the sections that have sub-sections...
So users can see the sub-section titles, but the original issue of not being able to search the whole page (unless you expand every single section and sub-section) has returned.
from ut.
What's the benefit of the expanding sections?
Could they be replaced with a traditional <h1>
, <h2>
etc, with a <ul>
for Table of Contents at the top?
from ut.
Thanks for your input @claremacrae.
Yeah, I'm still experimenting with it with the following goals in mind 🤔
- Easy to search (basically one page, it's usually more difficult to find things where they are spread around multiple Markdown files)
- Easy to navigate (:new: top menu)
- Easy to hide details (sections)
I pushed a change to expand all sections (they can still be collapsed) and added a top menu.
from ut.
I pushed a change to expand all sections (they can still be collapsed) and added a top menu.
I like it!!!
from ut.
Related Issues (20)
- piping tuple into a test case enforces const-ness of passed type instances
- running clang-format on ut.hpp in master produces changes?
- 7 tests fail
- Would be nice if the _i operator accepted hex constants HOT 1
- Boost review process
- `using namespace boost::ut;` breaks piping views that are copied to local variable.
- Test crashes in aarch64 built with clang++ HOT 1
- clang-scan-deps fails on ut.hpp
- Tests fail due to global instances destroyed HOT 1
- Leak when a source file starts with an A
- std::cout blocked from printing, is there an option to set?
- Version 2.0.1 segfaults when using std::format and std::cout on multiple threads HOT 24
- aborts support on Windows?
- Tests are always skipped when ut is #included into a module
- Number of asserts is reported wrongly HOT 1
- Fatal expression with custom message compile error HOT 2
- Custom message for fatal expressions not shown
- Add the option to display a diff when comparing strings
- Unnecessary CPM.cmake to Get PackageProject.cmake
- Disable Install Targets If It Is a Subproject HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ut.