Giter Site home page Giter Site logo

Add BUILD_PDF flag about rootstock HOT 2 CLOSED

manubot avatar manubot commented on May 23, 2024
Add BUILD_PDF flag

from rootstock.

Comments (2)

dhimmel avatar dhimmel commented on May 23, 2024 1

For now, I'd just comment out the PDF section of build.sh. In the future, I agree we should add flags or env variables for all the different outputs types.

However, I am thinking that we should migrate more functionality to the Python package. Specifically, we'd have multiple manubot commands

  • manubot prepare (what the manubot CLI currently does)
  • manubot output which would run pandoc and could accept --html, --latex, --jats, --docx flags
  • manubot webpage which would do what's in webpage.py currently
  • manubot timestamp to timestamp outputs / webpage stuff
  • manubot deploy which would be called by CI to deploy

Still lot's of thinking to do, but given these plans I think it makes sense to hold off on a BUILD_PDF env variable for the time being.

from rootstock.

dhimmel avatar dhimmel commented on May 23, 2024

#145 added support for a BUILD_PDF environment variable. Unlike BUILD_DOCX which must explicitly be set to true, not setting BUILD_PDF=false causes it to default to true.

from rootstock.

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.