From cabe8e57b99558dcb148585b4a2cd6ed996dd1c1 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 16 Aug 2025 10:20:35 -0400 Subject: Add basic docs --- docs/index.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/index.md (limited to 'docs/index.md') diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..8dc6ea9 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,29 @@ +## About Config File + +The Config File project is designed to allow you to easily manipulate your +configuration files with the same simple API whether they are in INI, JSON, +YAML, or TOML. + +## Quick Example + +```python +from config_file import ConfigFile + +# Load any supported configuration file +config = ConfigFile("~/myapp/config.ini") + +# Get values with automatic type conversion +database_port = config.get('database.port', return_type=int) + +# Set new values +config.set('database.host', 'localhost') + +# Save changes +config.save() +``` + +## Next Steps + +- [Install Config File](installation.md) to get started +- Check out the [Quick Start Guide](quick-start.md) for common usage patterns +- Explore the [API Reference](api-reference.md) for detailed documentation -- cgit v1.2.3