Code Monkey home page Code Monkey logo

Comments (4)

willcl-ark avatar willcl-ark commented on August 16, 2024

@kouloumos I agree that this would have been a nice approach, in fact, this is how I had it back around 57a8809 !

I then reverted to this format, as, although it makes the unrendered text a bit more "messy" to work with, contributors would be able to visit links directly from within their editors without having to append (shift+click to open in Alacritty for example).

I also got frustrated with how few of the asciidoc features github enabled, and it felt very freeing to be able to use the full featureset again once I dropped the asciidoctor-reducer precommit hook step. In addition to this, rebasing (which is probably unnecessary tbh) became a real nightmare with the reduced document, as it always needed manual adjustment between diffs.

Overall I felt that it was not going to make sense either for upgrading, as if we, for example, wanted to change from our current commit to v23.0, every link's lines would need to be manually checked and updated anyway, so the link variable would not help us much here either.

from onboarding-to-bitcoin-core.

kouloumos avatar kouloumos commented on August 16, 2024

Great! Your points are valid, the approach has been tried and dismissed so I'm closing this.

from onboarding-to-bitcoin-core.

willcl-ark avatar willcl-ark commented on August 16, 2024

I have to say, now that i'm not targeting GitHub rendering I am kinda more persuaded to go back a leverage that "full asciidoc functionality"... (it works rendering to asiidoc without the reduce step btw). But, 🤷🏼‍♂️

from onboarding-to-bitcoin-core.

kouloumos avatar kouloumos commented on August 16, 2024

I didn't persuade this further mainly because of Github rendering and your comment

contributors would be able to visit links directly from within their editors without having to append

Apart from that, I still think that variables would make future upgrades easier by separating changes in context and changes in links. But still, if that's the only benefit, a parse/find-and-replace script could be written when we reach that point.

from onboarding-to-bitcoin-core.

Related Issues (19)

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.