GithubHelp home page GithubHelp logo

Comments (5)

hargoniX avatar hargoniX commented on July 22, 2024

The general find# and src# system also needs to be reworked, this is because we generate a directory for every declaration but some declarations contain characters like ? which Windows doesn't allow in file/dir names :/. So in order to get Windows support we need to implement the find# and src# functionality fully in JS.

from doc-gen4.

gebner avatar gebner commented on July 22, 2024

It's not just Windows, also on Linux there are restrictions on file names (depending on the file system, on ext4 a filename may not be longer than 255 characters).

from doc-gen4.

hargoniX avatar hargoniX commented on July 22, 2024

I think at the point where a Lean declaration gets longer than 255 characters together with its namespaces the user probably deserves doc-gen to fail :P

from doc-gen4.

gebner avatar gebner commented on July 22, 2024

I've tried to run doc-gen4 on mathport and ran into that issue with some autogenerated declaration. The new instance names (instA...) are also humongous, I wouldn't be surprised if they end up being longer than 255 characters in some cases.

from doc-gen4.

hargoniX avatar hargoniX commented on July 22, 2024

Hmmm...well with the new approach of @xubaiw in #38 we should get rid of this subdirectory stuff in favour of just one endpoint with some JS running anyways so hopefully that won't be an issue anymore.

from doc-gen4.

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.