Comments (6)
Thanks - I think I beat you to it with a somewhat smaller change!
from shins.
A workaround is to clone the source
and pub
completely and pass in the root
global option, but I'd prefer to let shins provide most of the defaults and let me just specify overrides such as my own layout.
from shins.
I contributed a PR, #74
from shins.
Fixed in [email protected]
.
from shins.
Using path.resolve
, an absolute path -l /path/to/my/layout.ejs' works, as does
shins -l source/layouts/layout.ejsfor a file in the shins root, but
-l ./relative/path/to/my/layout.ejsdoes not. Needs to be made relative:
-l $PWD/relative/path/to/my/layout.ejs (My patch works with absolute
/...paths, relative
./...paths, and root-relative
source/layouts/...` paths.)
from shins.
Hmm, I think having relative paths work relative to two different locations will be too confusing.
from shins.
Related Issues (20)
- Missing include for minify flag HOT 3
- Latest release is still marked as 2.1.1-0 instead of 2.6 HOT 1
- Unintended behaviour when <'EOF' is included in a code snippet HOT 2
- Support (more) complex "includes" structure HOT 1
- Canβt set a local custom logo HOT 2
- Unable to create "spacers" in TOC with blank h1s like with Slate HOT 5
- Changes to nested includes are not picked up HOT 1
- New --root option not supported when building styles HOT 1
- Incomplete build with --minify HOT 1
- Wrong css includes HOT 2
- TOC deeper nesting not working
- Feature request: Arapaho cli options for logo/customcss HOT 1
- Additional Javascript (e.g. clipboard support) buttons etc HOT 5
- html tags in code samples are not escaped HOT 2
- Embedding partials into Markdown files HOT 3
- Conditional code annotation HOT 2
- Code blocks without a language tag render in languages panel HOT 5
- Using the same link for several menu items HOT 6
- Problems with --inline and the logo of the page. 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 shins.