Git Product home page Git Product logo

Comments (11)

mojavelinux avatar mojavelinux commented on July 19, 2024

👍

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.

nawroth avatar nawroth commented on July 19, 2024

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.

mojavelinux avatar mojavelinux commented on July 19, 2024

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.

nawroth avatar nawroth commented on July 19, 2024

That was my borked local environment. Switched to a different machine, everything went just fine. More to come ...

from docgist.

nawroth avatar nawroth commented on July 19, 2024

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.

nawroth avatar nawroth commented on July 19, 2024

@mojavelinux

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.

nawroth avatar nawroth commented on July 19, 2024

It's more complicated ... investigating.

from docgist.

mojavelinux avatar mojavelinux commented on July 19, 2024

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.

mojavelinux avatar mojavelinux commented on July 19, 2024

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.

nawroth avatar nawroth commented on July 19, 2024

That's great news! I just narrowed it down to the actual problem as well ...

from docgist.

nawroth avatar nawroth commented on July 19, 2024

I'll continue here as soon as there's a new RC out.

from docgist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.