Skip to content

docs: add demo gallery#157

Merged
Mini256 merged 8 commits intopingcap:mainfrom
Mini256:demo-gallery
Jul 14, 2025
Merged

docs: add demo gallery#157
Mini256 merged 8 commits intopingcap:mainfrom
Mini256:demo-gallery

Conversation

@Mini256
Copy link
Copy Markdown
Member

@Mini256 Mini256 commented Jul 14, 2025

image

Mini256 added 7 commits July 14, 2025 11:03
- Consolidate all dependencies into pyproject.toml for better management
- Remove separate scripts/requirements.txt file
- Update Makefile to use 'pip install -e .' for installation
- Add dependency check script (scripts/check_dependencies.py)
- Update documentation to reflect new dependency management
- Add 'make check' command to verify environment setup
- Fix Examples ordering in navigation and sync script
- All dependencies now managed in single pyproject.toml file
- Update Makefile to use 'uv pip install -e .' instead of pip
- Add UV availability check in scripts/check_dependencies.py
- Update documentation to include UV prerequisites
- Add UV installation instructions in README.md and docs/
- Enhance Makefile help with UV information
- Add comments in pyproject.toml about UV usage
- UV provides significantly faster package installation and resolution

UV installation: curl -LsSf https://astral.sh/uv/install.sh | sh
- Reduce verbose checks to just essential ones
- Only check UV availability and core imports
- Much faster and cleaner output
- Focus on what actually matters for getting started
cursor[bot]

This comment was marked as outdated.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Duplicate Navigation Sections Confuse Users

The mkdocs.yml file contains duplicate navigation entries for the demo pages. The same demo section is listed twice: once under "💡 Demos:" and again under "Demos:", leading to user confusion and redundant navigation.

mkdocs.yml#L108-L152

- Filtering: ai/guides/filtering.md
- 💡 Demos:
- Gallery: ai/examples/index.md
- Basic Usage: ai/examples/basic-with-pytidb.md
- Auto Embedding: ai/examples/auto-embedding-with-pytidb.md
- Vector Search: ai/examples/vector-search-with-pytidb.md
- Fulltext Search: ai/examples/fulltext-search-with-pytidb.md
- Hybrid Search: ai/examples/hybrid-search-with-pytidb.md
- Image Search: ai/examples/image-search-with-pytidb.md
- RAG: ai/examples/rag-with-pytidb.md
- Memory: ai/examples/memory-with-pytidb.md
- Text2SQL: ai/examples/text2sql-with-pytidb.md
- 🔌 Integrations:
- MCP Integration:
- TiDB MCP Server: ai/integrations/tidb-mcp-server.md
- IDE & Tool Integration:
- Cursor: ai/integrations/tidb-mcp-cursor.md
- Claude Desktop: ai/integrations/tidb-mcp-claude-desktop.md
- LlamaIndex: ai/integrations/llamaindex.md
- LangChain: ai/integrations/langchain.md
- Concepts:
- Vector Search: ai/concepts/vector-search.md
- Guides:
- Connect to database: ai/guides/connect.md
- Working with tables: ai/guides/tables.md
- Vector Search: ai/guides/vector-search.md
- Fulltext Search: ai/guides/fulltext-search.md
- Hybrid Search: ai/guides/hybrid-search.md
- Auto Embedding: ai/guides/auto-embedding.md
- Reranking: ai/guides/reranking.md
- Filtering: ai/guides/filtering.md
- Transaction: ai/guides/transaction.md
- Raw Queries: ai/guides/raw-queries.md
- Multiple Table Joins: ai/guides/joins.md
- Demos:
- Gallery: ai/examples/index.md
- Basic Usage: ai/examples/basic-with-pytidb.md
- Auto Embedding: ai/examples/auto-embedding-with-pytidb.md
- Vector Search: ai/examples/vector-search-with-pytidb.md
- Fulltext Search: ai/examples/fulltext-search-with-pytidb.md
- Hybrid Search: ai/examples/hybrid-search-with-pytidb.md
- Image Search: ai/examples/image-search-with-pytidb.md
- RAG: ai/examples/rag-with-pytidb.md
- Memory: ai/examples/memory-with-pytidb.md
- Text2SQL: ai/examples/text2sql-with-pytidb.md

Fix in CursorFix in Web


Bug: Transition Timing Mismatch in Gallery CTA

The transition property for .gallery-cta-link in src/ai/examples/index.md is set to 0.2s, which is inconsistent with the 0.3s specified in the src/templates/demo_gallery_template.j2 template. The generated file should align with the template, ideally by utilizing the var(--transition-normal) CSS variable.

src/ai/examples/index.md#L66-L67

text-decoration: none;
transition: all 0.2s ease-in-out;

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@Mini256 Mini256 merged commit 0176cf5 into pingcap:main Jul 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant