Comments (2)
This is a really good topic, with a few points I had not considered.
First, using markdown in titles could make them form bad URLs but generally the slugger handles it well (by dropping punctuation and hyphenating everything)
# Using the `env` param
content, description
# This & that
info about this
env
is rendered as code in the title in the doc, and the URL simply drops the ticks. (.../filename#using-the-env-param) which is readable, but a bit verbose. A worse example is (.../filename#this--that) where the ampersand is dropped but spacing is weird. Is there a way to explicitly define the slug for a header link? This could possibly solve a lot of issues.
Second, regarding the file/folder structure and naming conventions: This would be most robust with a super old-school planning phase of assessing every doc topic that needs to be written, categorizing them, etc... but that doesn't gel with how this project is running. So some kind of convention or guide would be good, but still leaves us with problems if an earlier made decision turns out to not be what we wanted. Lets say we put recommended-products.md
in /Specifications/
as it is here, and add some more specs type docs to it. Later we may have a lot more hardware docs, and want a /Hardware/
(at the same level as, or even within /Specifications/
). That's... bad.
I can see a convention/guide helping with breadth of topics, depth of structure, naming of folders, etc. But I can't think of good resolutions to the above issue & am not crash hot on versioning unless absolutely necessary.
from docs.
Regarding anchor generation and ID overrides - not in the current renderer. There does appear to be an existing convention in the wild for this: # A very long heading {#custom-id}
.
This will partially break things for links that are followed directly on GitHub, however given it will still land a viewer on the correct doc (just not the correct section), and provide a significantly cleaner experience for the rendered site I think this is a pretty valid trade off.
from docs.
Related Issues (20)
- Template + API usage Info
- Reference > Spec Runner HOT 3
- References > Links to Existing API
- Add images to configure-saml.md
- Steps to add a Domain HOT 2
- Migrate SVG Map Creation Guide
- Create Auth sub-category for Auth Articles HOT 1
- Create Deployment sub-category for Deployment Articles
- Vercel builds using stale caches
- Document SAML for Okta Process HOT 4
- Explain > Features > Create Feature Sections
- API Authentication
- Guides > Backoffice > How to Configure Staff API HOT 1
- Guides > Backoffice > How to Configure Calendar Driver
- Guides > Backoffice > How to add template Workspace app HOT 2
- How To > Backoffice > Upload Files
- Link check content before allowing merge
- Automate detection of trailing whitespace
- Guides > Backoffice > Configure Bookings Driver
- More detailed documentation for basic PlaceOS REST API HOT 3
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 docs.