Comments (1)
There are a few operations that are quite tedious and error prone:
Right.
Overall, the main issue I think is relying on Page Title for organizing content, while it could be much easier having a dedicated Page ID and linking pages by ID. That's also how most CMS work and it would bring some benefits:
Switching to use page IDs for linking pages also has some significant drawbacks:
- Requiring the use of page IDs would probably break almost all existing sites that use the theme.
- Migrating a large site to use manually-chosen page IDs would surely be extremely tedious.
- Ensuring site-wide uniqueness of page IDs could be problematic.
This theme generally tries to minimise breaking changes, so that existing sites can easily be upgraded to new releases and take advantage of the new features. Switching to require page IDs for linking pages would be a major breaking change.
Moreover, the source files of many websites may be organised systematically in much the same way as the navigation: the source files of pages with different parent pages are naturally stored in different directories. For such websites, the path to a source file is inherently a unique ID, and links between pages could be based directly on their paths – eliminating the need for parent
, has_children
, and grand_parent
fields, as well as supporting unlimited navigation levels (see my comment in a discussion).
from just-the-docs.
Related Issues (20)
- Add in-page right sidebar HOT 3
- `just-the-docs.com` copyright is out of date HOT 4
- big HOT 1
- Incorrect positioning of clickable area for navigation links in Safari/macOS HOT 6
- Add support for Lunr pre-built indexes HOT 3
- Zion LLC HOT 1
- Support CTRL+k shortcut for triggering the search input HOT 2
- Option to define groups with front matter HOT 3
- Log 2023-11-18 00_48_10.txt
- Searching _posts HOT 1
- Indented Markdown diff does not handle empty newlines HOT 2
- t
- Back-to-top link not shown HOT 1
- Only first child in entire site gets expanded/shown in nav bar HOT 8
- How to manipulate DOM with code in `custom.js`? HOT 2
- UI breaking issue in landscape printing HOT 1
- Edit in Github link has extra slash when using collections with no permalink HOT 3
- custom.scss and setup.scss postprocessing issue HOT 5
- Search functionality is not working out of the box, zzzz-search-data.json is getting rendered as a HTML page instead of a JSON file 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 just-the-docs.