django_unified.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "django",
  3. "description": "Complete Django framework knowledge combining official documentation and Django codebase. Use when building Django applications, understanding ORM internals, or debugging Django issues.",
  4. "merge_mode": "rule-based",
  5. "sources": [
  6. {
  7. "type": "documentation",
  8. "base_url": "https://docs.djangoproject.com/en/stable/",
  9. "extract_api": true,
  10. "selectors": {
  11. "main_content": "article",
  12. "title": "h1",
  13. "code_blocks": "pre"
  14. },
  15. "url_patterns": {
  16. "include": [],
  17. "exclude": ["/search/", "/genindex/"]
  18. },
  19. "categories": {
  20. "getting_started": ["intro", "tutorial", "install"],
  21. "models": ["models", "orm", "queries", "database"],
  22. "views": ["views", "urls", "templates"],
  23. "forms": ["forms", "modelforms"],
  24. "admin": ["admin"],
  25. "api": ["ref/"],
  26. "topics": ["topics/"],
  27. "security": ["security", "csrf", "authentication"]
  28. },
  29. "rate_limit": 0.5,
  30. "max_pages": 300
  31. },
  32. {
  33. "type": "github",
  34. "repo": "django/django",
  35. "include_issues": true,
  36. "max_issues": 100,
  37. "include_changelog": true,
  38. "include_releases": true,
  39. "include_code": true,
  40. "code_analysis_depth": "surface",
  41. "file_patterns": [
  42. "django/db/**/*.py",
  43. "django/views/**/*.py",
  44. "django/forms/**/*.py",
  45. "django/contrib/admin/**/*.py"
  46. ]
  47. }
  48. ]
  49. }