Comments (4)
reduced network bandwidth usage
I think this is an area where the new documentation excels. https://docs.spring.io/spring-boot/docs/3.2.x/reference/htmlsingle/index.html weighs in at 470KB where as each individual page of the new docs has HTML in the 10KB - 20KB range. This also shows in the rendering time with the single page docs taking almost 8 seconds according to the timeline in Safari vs 3 seconds for a page of the Antora-based docs.
We don't consider the current docs to be finished, documentation almost never is, and that's especially true here as this is the first iteration of them with the new Antora-based structure. As such, I expect things to evolve based on feedback such as this. For example, the point about cross-references in a good one and I suspect that we'll want to add many more now that the pages are more fine-grained. We should make sure that we keep this in mind when tackling #40064.
One thing that I think I can say with some certainty is that we won't be going back to the old documentation structure instead of the Antora-based docs. Assuming that Antora supports it, what we can consider is also publishing single-page documentation either as HTML or perhaps as a PDF. Right now, though, my preference would be to continue to evolve and improve the documentation in its new format as there are some significant advantages to not publishing the same content in multiple formats, not least search engine discoverability which has hampered our docs for years.
from spring-boot.
There is an effort underway in the Antora community to address the "single page documentation" requirement. I think it's mostly focused on PDF generation at the moment.
I would very much like to be able to publish some aggregated form of our documentation. I think a lot of folks would like to be able to download something that they can read offline.
I'll repurpose this issue to look into that, but it's something we'll likely want to tackle as broader team to that all projects can benefit. As such, I suspect it may take a little time.
I wish we had a simple switch we could throw that would allow us to restore the single page HTML generator. Unfortunately, it's not that easy and we don't have the bandwidth to maintain two distinct sets of .adoc
files.
from spring-boot.
Thanks for the feedback.
fast cross referencing across the entire framework
Spring Boot 3.3 has moved to Antora for its documentation, aligning with various other projects that have already moved over the past several months. One of the main benefits of Antora is that you can now search across the entire Spring portfolio from Spring Boot's documentation. You can access this search at https://docs.spring.io/spring-boot/search.html or by clicking in the search box on the left-hand side and then selecting Search in all Spring docs
.
finding things which one can't remember exact names/keywords for
Can you please describe how would you do this with the single-page documentation?
from spring-boot.
Spring Boot 3.3 has moved to Antora for its documentation, aligning with various other projects that have already moved over the past several months.
To be blunt, in all honesty I don't like this move at all :) It's all too granular.
Can you please describe how would you do this with the single-page documentation?
As a recent example, lets say I'm interested in learning more about how to do custom health checks for actuator.
- From googling, I learned that the relevant class is HealthIndicator. I also learned about liveness and readiness.
- In the documentation I would use a mix of terms - name of the relevant class, related keywords such as "custom health", and some side keywords such as "readiness" and "liveness" to understand where in the document all of these are referenced and how they relate to each other.
To be clear, it's not just about finding the correct snippets and sections of the documentation, but also about seeing their relative proximity and order as well. No documentation is perfect, and it's very easy to forget to do cross-references, so Ctrl/Cmd+F
:ing the full document gets around that nicely, without losing the spot at where I was in general in the documentation. If my various keywords all point to hotspots at around, say 2/5ths mark of the page and towards the last quarter, it means the relevant related sections for understanding how everything meshes together are around those parts. For me this exploration and overview is quite important for any documentation.
And while I don't personally rank these that high, there are some other secondary benefits to single-page docs as well, including printing, reader mode support, reduced network bandwidth usage, and whatever else others may enjoy.
from spring-boot.
Related Issues (20)
- Upgrade to Jetty Reactive HTTPClient 4.0.5
- Upgrade to Jetty 12.0.10
- Upgrade to jOOQ 3.19.9
- Upgrade to Maven Help Plugin 3.4.1
- Upgrade to MSSQL JDBC 12.6.2.jre11
- Upgrade to Netty 4.1.111.Final
- Support of CTE with Pageable HOT 1
- Use Collection-based construction rather than separate construction and addAll()
- SystemProperties ignored in spring-boot-maven-plugin if -Dspring.context.exit=onRefresh is specified HOT 4
- Polish code to use 'switch' instead of 'if', remove unessary unboxing and remote redundant cast
- Replace lambda with method reference
- AOT causes Logback configuration error when using include HOT 2
- DataSourceProperties fail to bind if java.sql module isn't included HOT 9
- DataSourceProperties fail to bind if java.sql module isn't included
- Custom actuator endpoint doesn't work after upgrading to Spring Boot 3.0.0 HOT 2
- Add Support for --project-name Option in Docker Compose HOT 3
- restTemplate.exchange have exception "insufficient data written" with springboot 3.3 HOT 1
- restTemplate.exchange have exception "insufficient data written" with springboot 3.3 HOT 1
- RuntimeHintsRegistrar types should be created dynamically HOT 1
- Image building requires builder to specify a stack
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 spring-boot.