GithubHelp home page GithubHelp logo

Comments (5)

MridulS avatar MridulS commented on July 26, 2024

fixed with #27, #28

from econ-ark.org.

llorracc avatar llorracc commented on July 26, 2024

@MridulS,

I spent quite a while trying to figure out why

https://econ-ark.org/materials/BufferStockTheory#launch

didn't work. Turns out that, even though BufferStockTheory.ipynb is what's in the markdown file, the launch url is REQUIRED to be all lower case. Would it be easy to make it case-insensitive?

from econ-ark.org.

MridulS avatar MridulS commented on July 26, 2024

Unfortunately no, GitHub Pages URL are case sensitive by design. There could be some hacks around (with redirection) to make this work but URLs are supposed to be case sensitive.

from econ-ark.org.

llorracc avatar llorracc commented on July 26, 2024

Well, what is confusing is that info in the source documents and the GitHub names are case sensitive: BufferStockTheory or whatever. (See the BufferStockTheory.md file). But the launch url only works if the user knows that for some reason that should be translated to all lower case.

I see two options:

  1. We should make the metadata in the markdown files match the case of what econ-ark.org translates it to
    • This would just involve editing the .md files
    • But would it also involve a requirement that we rename the master files accordingly? I really don't like bufferstocktheory without any capitals.
  2. We could make econ-ark.org test for the presence of either docs whose names (case-sensitively) match the names in the Markdown .md metadata files, OR for an all-lower-case version of the same name, and to work if either exists.

The current approach of having names like BufferStockTheory in the .md file, and having a url that works only if that is translated to bufferstocktheory (lower case), but with no way for anyone to guess that, seems like a bad combination.

from econ-ark.org.

llorracc avatar llorracc commented on July 26, 2024

@MridulS,

Would appreciate your input on these options:

  1. Fix the metadata so it matches what econ-ark.org translates it to
  2. Fix econ-ark.org so it respects the capitalization of the metadata
  3. Fix econ-ark.org so it will work with either choice (auto-downcased or original case-sensitive).

I confess that I'm more enthusiastic about 2 or 3 than about 1. But even 1. is better than the way we are doing it now.

from econ-ark.org.

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.