Comments (5)
Yes, building the TOC DOM dynamically appears to take about 40% of page load time.
Another possible approach is to save the TOC from the browser at 'build' time.
from slate.
Going through the V2 feature branch, it seems that it only headers are only identified if they are used in the index page and not if they are within the included files. Is there a good way to be able to read the headers out of included files or is this a limitation of that current feature implementation?
from slate.
Added in the dev
branch! Let me know if anybody runs into issues with the new code.
@bc-AlyssNoland thanks for the catch, this should be fixed in the latest toc generation implementation!
from slate.
@lord - If we want to try static TOC, would you recommend that we apply #701 to the release branch, or run with the dev branch? (E.g. can you comment on completeness and stability?)
from slate.
@seweil I'd try out the dev branch! There may be a few remaining bugs with it, but applying #701 to the release branch would result in the same bugs or maybe even more.
from slate.
Related Issues (20)
- Success redirect
- EMFILE, possible file handler leak
- Difficulty implementing on Windows machine HOT 1
- Difficulty implementing on Windows machine in both approach (ruby & docker as well) HOT 3
- Search function not finding results HOT 2
- [email protected]
- lang specific blockquotes weird behavior. HOT 2
- no implicit conversion of Hash into Integer HOT 1
- bundle exec middleman server: have error
- diff ruby version HOT 1
- Build with Docker should create a build folder with current owner user instead of root HOT 3
- unable to configure the slate set up in windows HOT 1
- UniqueHeadCounter not working when deploying with Docker HOT 1
- Update Invoice API documentation HOT 2
- editable re-render cause the cursor to be brought forward in composing events.
- ddd
- i got /usr/bin/env: ‘bash\r’: No such file or directory when i run the container
- Incorrect Section Highlighted in TOC When Near End Of Page
- Window middleman command fail
- REPORT A BUG!!! HOT 2
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 slate.