Giter Club home page Giter Club logo

Comments (2)

MridulS avatar MridulS commented on July 20, 2024

[Probably missing context] Wouldn't this break the HTML pages like http://ericmjl.github.io/Network-Analysis-Made-Simple/1-introduction.html ? This should clean only for student notebooks right?

from network-analysis-made-simple.

ericmjl avatar ericmjl commented on July 20, 2024

Yes, you are right, sorry about the missing context.

Here's what went through my mind.

I was hacking on my causality notes, and found that the repo had ballooned to 1/2 GB, because there was no cleaning of notebook outputs. In particular, one of the figures kept getting redrawn on the CI system such that over time, the size of the repo ballooned without me noticing. On that repo, I did a drastic change and eliminated references to static HTML notebooks, but I'm hesitant to do it here.

I think there might be a better way to handle the static HTML pages. One way would be to host them on the gh-pages branch, with force pushes on the gh-pages branch to minimize file history.

I would also consider using Sphinx or (MkDocs + MkNotebooks) to build the docs, rather than the janky script we have right now. Offloading this maintenance burden to a well-developed framework might be better.

One thing I am sure, though, is that the static HTML pages are not auto-generated, so they will be safe from a stripout of the notebooks' outputs.

from network-analysis-made-simple.

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.