Comments (11)
👍
You definitely want to do this work based off of Asciidoctor 1.5.0.rc.2 or better since we load FontAwesome differently from how we did it in 0.1.4. Namely, we use FontAwesome 4.1 and the CSS classes are slightly different. Run it through Asciidoctor Ruby passing -a icons=font
to see what output you need to port over.
from docgist.
I experimented a bit and it seems very easy to get the icons in. I just need asciidoctor.js built from 1.5.0.rc.2 -- for some reason I fail to build it.
And DocGist already uses FontAwesome 4.1 for the icons in the menu bar.
from docgist.
Excellent!
What's the failure building Asciidoctor.js? We definitely want to make sure that builds clean before 1.5.0 core is released.
from docgist.
That was my borked local environment. Switched to a different machine, everything went just fine. More to come ...
from docgist.
Oops, I was to fast on this one. The update it still in master, but I reverted it in gh-pages.
It really looked awesome on the pages where it worked.
No luck with this one though:
http://gist.asciidoctor.org/?ccd7210bd915da0f7713
Error
NoMethodError:
undefined method `[]' for nil
I'll see if I can dig into it.
from docgist.
It's about undefined attributes. I get the same error using the Ruby version.
Here's the trace:
https://gist.githubusercontent.com/nawroth/c00249bf5d51f42ce72e/raw/5f25097c1535b8b856933d3514baffc9f343eebf/trace
from docgist.
It's more complicated ... investigating.
from docgist.
This looks like a bug in core. Here's the problematic content:
[[repositories.create-instances.java-config]]
===== JavaConfig
The repository infrastructure can also be triggered using a store-specific `@Enable${store}Repositories` annotation on a JavaConfig class. For an introduction into Java-based configuration of the Spring container, see the reference documentation.footnote:[JavaConfig in the Spring reference documentation - link:$${spring-framework-docs}/beans.html#beans-java$$[]]
I made a change to passthrough handling recently...looks like something got borked. I'll get to the bottom of it. This likely has nothing to do with your change...so you may want to just move forward with it.
from docgist.
Wow, I really missed that scenario in my testing! Thanks for catching that before 1.5.0 made it out the door! I've resolved it upstream.
from docgist.
That's great news! I just narrowed it down to the actual problem as well ...
from docgist.
I'll continue here as soon as there's a new RC out.
from docgist.
Related Issues (20)
- Absolute image paths on GitHub HOT 7
- Link to included document not working. HOT 9
- Get interdocument xrefs working HOT 2
- Support Bitbucket and GitLab HOT 5
- Upgrade to Asciidoctor.js 1.5.3 HOT 24
- Read attributes from the URL HOT 7
- Render footer with document metadata HOT 1
- Support files in Google Drive HOT 1
- Support the stylesheet attribute HOT 2
- Get a short url for the current page
- Convert problem in Safari HOT 26
- Make boolean attributes a toggle button in the Attributes menu
- Allow organizing maintained docs
- Where are fp- links documents stored? HOT 1
- Support interactive checkbox
- Allow setting garbage collection schedule on submitting a new gist. HOT 1
- PROJECT_REQUIRES_IMPORT HOT 4
- Google will discontinue the goo.gl on March 30, 2019 HOT 3
- Edit feature is not working HOT 1
- Footnote syntax doesn't work according to Asciidoctor documentation? HOT 1
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 docgist.