Comments (5)
可以写个组件来显示 nav 然后用 registerComponent 插入到 sidebar 同时把 toc 和顶部 nav 关闭
from docute.
@egoist 好的。非常感谢!这么快就回复了。
from docute.
@egoist 我看很多文档,都是左侧导航条,有些是只有路由,有些是带有TOC。而顶部,放置一些官网、github等链接。
个人感觉这种方式更好些。嘿嘿。
from docute.
这本来只是给只有个 README 的项目用的,可以做个插件通过 : sidebarNav(nav)
这样达到那种效果
from docute.
可惜我前端刚入门。我是c系列的。
from docute.
Related Issues (20)
- Multi-level menu
- Fix Repl.it example HOT 1
- Question: How to change the theme of code highlight?
- Deploy to gitlab pages
- Multilanguage with LTR and RTL languges HOT 2
- Ability for a standalone file:// is broken HOT 3
- Select has inverted colors in dark theme
- Theme search function
- api.onUpdate causes rendering to fail
- Support explicit markdown URLs like docsify
- double horizontal scroll bar in code snippets
- use with `router-link`
- [Feature Request] any chance we get React in markdown support?
- Bug: The vue template doesn't work on the sidebar!
- Bug: "router.base" not work! HOT 1
- Unable to jump between level 1 menus
- docute.org seems to be dead HOT 3
- People visiting docute.egoist.sh are getting HACKED HOT 2
- Is this project still under maintenance?
- How to use document in Vue3? I need to embed it
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 docute.