Comments (3)
I'm starting to think this issue is overblown. Its content is important but it's not broken down enough.
What we really want to and need to do is make a first pass whereby we build up a tree, in memory. It should be enough to just hold the titles, slugs and potentially a shape of a tree too. Suppose you have this, you would be able to leverage it as you render each page with a side-bar that links to all elements of the same level. E.g. when rendering the video
element you'd know to make sidebar links to canvas
, dialog
etc.
Last but not least, having this tree, after all pages have been rendered, means that you can do things like generate a sitemap XML file, a JSON file for search, an actual sitemap page, an RSS feed even, etc.
Let's close this and instead build the minimal needed for a prototype that demonstrates it.
from yari.
Oops. Meant to close. My point is, we will need those things and the day we write the first of such we can tackle that on a feature-by-feature level.
from yari.
#25 is a decent start on this. It opens up for doing things like sitemaps, side-bars, or site search.
from yari.
Related Issues (20)
- Contrast issue with the background-color of <code> elements HOT 2
- "appliesto" from mdn/data does not correctly render in {{CSSInfo}} macro HOT 3
- Baseline status banner checkmarks are incorrect when there's a difference between desktop and mobile support HOT 1
- Overflow issue on Video Codecs page
- "Home" and "End" keys don't work in the search bar HOT 3
- Loop redirection between two URLs HOT 4
- Trailing slash on void element HOT 4
- Title
- Horizontal overflow on the blog pages
- Search bar on https://developer.mozilla.org has no scroll bar and other issues HOT 2
- Excessive Header Size HOT 2
- Opening a specific section in a new tab or window, or from the address bar, doesn't scroll to that section HOT 8
- Add guide to CSS sidebar
- Add and fix Japanese translations in the `{{AvailableInWorkers}}` macro
- Search bar sometimes breaks when refocusing a tab with MDN
- Searching for `tilde` returns nothing HOT 1
- Add Korean translation of deprecated notice header
- Browser Compatibility Table uses wrong Firefox logo HOT 3
- Sidebar page icons do not display in zh-cn locale HOT 1
- Error not loading the original image when the locale translation markdown page does not exist
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 yari.