GithubHelp home page GithubHelp logo

More documentation! about tomlplusplus HOT 5 CLOSED

marzer avatar marzer commented on May 10, 2024
More documentation!

from tomlplusplus.

Comments (5)

jwillikers avatar jwillikers commented on May 10, 2024

Hi @marzer, thanks for all of your work on this library. The API looks beautifully simple. When choosing whether to use a library like this, it is very helpful for me to see examples of the error messages from the error-handling functions. In your documentation, I saw the error-handling examples but they didn't show the full output for a sample case. That would be helpful for me to see. Thanks!

from tomlplusplus.

marzer avatar marzer commented on May 10, 2024

@jwillikers Thanks, glad you like it!

That's a good idea, I should add a few failure cases to the examples. In the mean-time you can get a good idea of how they're formatted and their level of detail by skimming through toml_parser.h and picking out the occurences of abort_with_error().

from tomlplusplus.

jwillikers avatar jwillikers commented on May 10, 2024

@marzer Thanks, I appreciate it!

from tomlplusplus.

marzer avatar marzer commented on May 10, 2024

Checklist of documentation stuff for me to do when I get the chance:

  • Add examples of error messages to the index page and parse_result's brief
  • Boolean literals in code blocks are bold white, but really should be blue like keywords (see operator<<(ostream, node_type))
  • The Contributing link on the front page of the HTML docs refers to README.md but should refer to CONTRIBUTING.md
  • Add a prominent listing of the currently tested platforms and compilers to the README.md and HTML docs
  • Add more detail to the code examples for toml::parse and friends
  • Add a code example for toml::parse_error
  • Use a different favicon for the HTML docs

from tomlplusplus.

marzer avatar marzer commented on May 10, 2024

@jwillikers In addition to a few minor code bugfixes I've just pushed a bunch of documentation improvements that might be relevant to your interests:

Let me know what you think and/or if there's something I've missed.

from tomlplusplus.

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.