Skip to content

Commit 9e54705

Browse files
committed
chore: enhance documentation and streamline project structure
- Added a star request button in README for visibility - Verified documentation build process with `mkdocs build --strict` - Updated documentation dependencies to latest versions - Enhanced CONTRIBUTING.md with documentation build requirements - Fixed mkdocs navigation and relative link issues - Removed Acknowledgments section from README for a cleaner appearance
1 parent 29d7ec1 commit 9e54705

File tree

8 files changed

+42
-25
lines changed

8 files changed

+42
-25
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Describe the tests that have been performed to verify the changes. Include instr
4848
- [ ] Integration tests pass
4949
- [ ] Manual testing performed
5050
- [ ] Performance testing (if applicable)
51+
- [ ] Documentation builds correctly (`mkdocs build --strict`)
5152

5253
### Test Instructions
5354

@@ -71,6 +72,7 @@ Describe the tests that have been performed to verify the changes. Include instr
7172
- [ ] No new linting warnings introduced
7273
- [ ] Type hints added where appropriate
7374
- [ ] Error handling implemented appropriately
75+
- [ ] Documentation is accurate and up-to-date
7476

7577
## Breaking Changes
7678

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Placeholder for future features
12+
- Star request button prominently displayed in README
13+
- Documentation build verification with `mkdocs build --strict`
14+
15+
### Changed
16+
17+
- Updated documentation dependencies to latest versions
18+
- Enhanced CONTRIBUTING.md with documentation build requirements
19+
- Updated development setup to include docs dependencies
20+
21+
### Fixed
22+
23+
- Fixed mkdocs navigation configuration to include all existing documentation files
24+
- Resolved relative link issues in documentation
25+
- Fixed missing file warnings in mkdocs build
26+
27+
### Removed
28+
29+
- Acknowledgments section from README.md (streamlined for professional appearance)
1330

1431
## [0.2.0] - 2024-01-15
1532

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This Code of Conduct applies within all community spaces, and also applies when
3636

3737
## Enforcement
3838

39-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT EMAIL]. All complaints will be reviewed and investigated promptly and fairly.
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at conduct@projectyoked.com. All complaints will be reviewed and investigated promptly and fairly.
4040

4141
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
4242

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We welcome contributions to YokedCache! This document provides guidelines for co
2626

2727
3. **Install development dependencies:**
2828
```bash
29-
pip install -e ".[dev]"
29+
pip install -e ".[dev,docs]"
3030
```
3131

3232
4. **Install pre-commit hooks:**
@@ -98,6 +98,9 @@ pytest tests/test_cache.py::TestYokedCache::test_basic_get_set
9898
- Follow Google-style docstring format
9999
- Update README.md for new features
100100
- Add examples to the `examples/` directory
101+
- Update documentation in `docs/` directory as needed
102+
- Run `mkdocs build --strict` to verify documentation builds correctly
103+
- Test documentation locally with `mkdocs serve`
101104

102105
## Contribution Guidelines
103106

@@ -138,6 +141,7 @@ For new features:
138141
black src tests examples
139142
flake8 src tests examples
140143
mypy src --ignore-missing-imports
144+
mkdocs build --strict
141145
```
142146

143147
6. **Commit your changes** with a clear commit message:

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22

33
High-Performance Caching for Modern Python Applications
44

5+
<div align="center">
6+
7+
[![⭐ Star YokedCache](https://img.shields.io/github/stars/sirstig/yokedcache?style=for-the-badge&logo=github&logoColor=white&color=yellow)](https://github.com/sirstig/yokedcache/stargazers)
8+
59
[![PyPI version](https://img.shields.io/pypi/v/yokedcache.svg)](https://pypi.org/project/yokedcache/)
610
[![Python](https://img.shields.io/pypi/pyversions/yokedcache.svg)](https://pypi.org/project/yokedcache/)
711
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
812
[![Tests](https://github.com/sirstig/yokedcache/actions/workflows/test.yml/badge.svg)](https://github.com/sirstig/yokedcache/actions/workflows/test.yml)
913
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1014
![PyPI - Downloads](https://img.shields.io/pypi/dm/yokedcache)
1115

16+
</div>
17+
1218
Intelligent caching with automatic invalidation, fuzzy search, and seamless FastAPI integration.
1319

1420
**[Documentation](https://sirstig.github.io/yokedcache)** | **[Report Bug](https://github.com/sirstig/yokedcache/issues)** | **[Request Feature](https://github.com/sirstig/yokedcache/issues)**
@@ -377,15 +383,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
377383

378384
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
379385

380-
## Acknowledgments
381-
382-
- [Redis](https://redis.io/) - For the excellent caching backend
383-
- [FastAPI](https://fastapi.tiangolo.com/) - For the amazing Python web framework
384-
- [SQLAlchemy](https://www.sqlalchemy.org/) - For database ORM integration
385-
- Python Community - For continuous inspiration and feedback
386-
387386
---
388387

389388
**Made with care by [Project Yoked LLC](https://github.com/sirstig)**
390-
391-
If YokedCache helps your project, please consider giving it a star on GitHub!

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Command-line tools and utilities:
7676
### 📖 **Reference**
7777
Detailed technical documentation:
7878

79-
- **[API Reference](api/)** - Complete API documentation
79+
- **[API Reference](api/index.md)** - Complete API documentation
8080
- **[Performance Guide](performance.md)** - Optimization and tuning
8181
- **[Security Guide](security.md)** - Security best practices
8282
- **[Troubleshooting](troubleshooting.md)** - Common issues and solutions

mkdocs.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,21 @@ markdown_extensions:
4949
nav:
5050
- Home: index.md
5151
- Getting Started: getting-started.md
52-
- Concepts: concepts.md
53-
- Usage Guide: usage.md
54-
- Auto-Invalidation: auto-invalidation.md
55-
- Keys & Serialization: keys-serialization.md
56-
- Fuzzy Search: fuzzy-search.md
57-
- Redis Setup: redis-setup.md
52+
- Core Concepts: core-concepts.md
53+
- Usage Patterns: usage-patterns.md
5854
- Configuration: configuration.md
59-
- Configuration Reference: config-reference.md
55+
- Backends: backends.md
56+
- Redis Setup: redis-setup.md
57+
- Vector Search: vector-search.md
6058
- CLI: cli.md
61-
- CLI Cookbook: cli-cookbook.md
6259
- Performance: performance.md
6360
- Security: security.md
61+
- Monitoring: monitoring.md
62+
- Testing: testing.md
6463
- Troubleshooting & FAQ: troubleshooting.md
65-
- Examples: examples.md
6664
- Tutorials:
6765
- FastAPI: tutorials/fastapi.md
6866
- SQLAlchemy: tutorials/sqlalchemy.md
69-
- Architecture: architecture.md
7067
- API Reference:
7168
- Overview: api/index.md
7269

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ dev = [
9393
]
9494
docs = [
9595
"mkdocs>=1.4.0",
96-
"mkdocs-material>=8.0.0",
97-
"mkdocstrings[python]>=0.19.0",
96+
"mkdocs-material>=9.0.0",
97+
"mkdocstrings[python]>=0.20.0",
9898
]
9999

100100
[project.urls]

0 commit comments

Comments
 (0)