Code Monkey home page Code Monkey logo

Comments (5)

rpuntaie avatar rpuntaie commented on June 29, 2024 1

I added a Makefile today, which uses links.
That produced the .txt that was there (lynx probably would have, too).

from getmail6.

rpuntaie avatar rpuntaie commented on June 29, 2024 1

I know the situation with redundant text is no good, but I don't want to change too much.

  • Read-only would not allow to run the Makefile.
  • Not including generated files would break existing distro packages.

With the Makefile at least it is easier to find out that the .html is the master and the .txt is generated, and how.
I had found only a hint in the CHANGELOG and had to guess how it was generated.

from getmail6.

Remmy avatar Remmy commented on June 29, 2024 1

I used a pre-commit hook in git to do something similar to above every time one of the html files gets updated and committed to git.

from getmail6.

jidanni avatar jidanni commented on June 29, 2024 1

I used a pre-commit hook in git to do something similar to above every time one of the html files gets updated and committed to git.

OK. Maybe also have that hook put
"Warning, do not edit this .txt file which is automatically produced from the .html version"
at the top of each automatically produced .txt file.

from getmail6.

jidanni avatar jidanni commented on June 29, 2024

OK but if I go to https://github.com/getmail6/getmail6/blob/master/docs/documentation.txt
I can still press the edit button.

One can imagine a user spending hours editing this, only to find he should have edited the HTML version.
Therefore it should be configured to be readonly, here on GitHub.

from getmail6.

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.