NicoK opened a new pull request #9487: [FLINK-13791][docs] Speed up sidenav by 
using group_by
URL: https://github.com/apache/flink/pull/9487
 
 
   ## What is the purpose of the change
   
   `_includes/sidenav.html` parses through `pages_by_language` over and over 
again trying to find children when building the (recursive) side navigation. By 
doing this once with a `group_by`, we can gain considerable savings in building 
the docs via `./build_docs.sh` without any change to the generated HTML pages:
   
   before: ~54s
   after: ~37s
   
   ## Brief change log
   
   Building on top of #9444, this PR adds:
   - use `group_by` to create an easier-iterable array for determining page 
children
   
   ## Verifying this change
   
   I verified the changes in the generated HTML pages (nothing changed).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to