Comments (10)
@mauroservienti Oh, the root
property is a feature released in 2015, which allows author to figure out where the root folder of the book is.
from personalwiki.
@mauroservienti 2333, okay, I will fix it soon or later.
from personalwiki.
@mauroservienti root
is not an defined property for using in this plugin, and what it can be set is only repo
and branch
:
repo
is used to figure out the repository responding to your bookbranch
is used to figure out which branch or your given repository
For example, if the repo
is given "aleen42/PersonalWiki", and the branch is given "master", then edit button will be set as "https://github.com/aleen42/personalwiki/edit/master/README.md", in which README.md is a relative path read by calling a specific API of Gitbook.
from personalwiki.
Anyway, thanks for your issue firstly, and the project of gitbook-edit
is not able to be issued because it's forked from another project.
from personalwiki.
root
is a standard GitBook property that allows files to be stored in a sub-folder. Isn't there an option to support it when building the path to the GitHub file?
from personalwiki.
@mauroservienti Actually, I have not even used this property, and can you show me your value of root
and tell me how to build the path with this property, or what it really means? Of course, I can provide another option for this building. Of course you can also fork my repo to give out another pull request to support your requirement, man.
from personalwiki.
Take a look at our repo: https://github.com/RadicalFx/documentation
In the root there is book.json
file that configures GitBook to look for doco source files in the ./docs
folder instead of using the repo root folder. Actually your plugin builds the following edit url (using your sample):
https://github.com/aleen42/personalwiki/edit/master/README.md
If the root
configuration property is defined it should be
https://github.com/aleen42/personalwiki/edit/master/{root-configuration-value}/README.md
Where {root-configuration-value}
should be trimmed removing from start any ./
and from end any /
.
from personalwiki.
Of course you can also fork my repo to give out another pull request to support your requirement, man.
I have zero node.js
knowledge unfortunately 😞
from personalwiki.
I had a couple of minutes and decided to give it a try 😄
We use to say: Don't shoot to the pianist 😉
from personalwiki.
@mauroservienti check the version @1.0.8 and rebuild your book with it to test whether it works for your book.
from personalwiki.
Related Issues (20)
- Drawing in JavaScript HOT 1
- [轉載] Styling SVG <use> Content with CSS HOT 3
- [譯] Google Interview University
- Enhancement of Gitbook Treeview
- Mingtocat
- All books has opened a button for editing on Github
- [轉載] Discover the Full Story of City's Buildings
- [譯] Align SVG Icons to Text and Say Goodbye to Font Icons
- Microtasks? Macrotasks? HOT 1
- [歸納] JavaScript 之高性能
- [歸納] 你以为 JavaScript 没数据结构么?
- [歸納] 304 Status Code 下的头部信息
- [思] 当需要传递多个不定参数时,该如何设计 JavaScript 函数? HOT 2
- [Temporary Note] Asynchronous Programming
- [集] A collection of confusing problems met when developing JavaScript under IE HOT 21
- You should add this repo to meta-knowledge HOT 3
- [思] Handlebars 模板应该如何进行预处理
- Yusha'u modern Yousherou Kamba modern Canvas Dan Auta ABCD INVEST GOLDital plus technology hospital For innovation to flourish, organizations must create an environment that fosters creativity; bringing together multi-talented groups of people who work in close collaboration together — exchanging knowledge, ideas and shaping the direction of the future organizations of the future will increasingly depend on the creativity of their members to survive. Great Groups offer a new model in which the leader is an equal among Titans. In a truly creative collaboration, work is a pleasure, and the only rules and procedures are those that advance the common cause. be ideally creativity by your self together by Gbest Canva's DAN AUTA ABCD INVEST and iT solution Yousherou best ever HOT 2
- gitbook plugin: "mind-maps" ; only support 10 levels
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 personalwiki.