Skip to content

Commit d45de1a

Browse files
authored
Merge pull request #49 from objectstack-ai/copilot/continue-development-based-on-roadmap
2 parents 7c6dac7 + 540e779 commit d45de1a

File tree

10 files changed

+487
-11
lines changed

10 files changed

+487
-11
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug Report
2+
description: Report a bug in ObjectDocs
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the information below.
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Description
14+
description: A clear and concise description of what the bug is.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: reproduction
19+
attributes:
20+
label: Steps to Reproduce
21+
description: Steps to reproduce the behavior.
22+
placeholder: |
23+
1. Run `objectdocs build`
24+
2. Navigate to ...
25+
3. See error
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: expected
30+
attributes:
31+
label: Expected Behavior
32+
description: What you expected to happen.
33+
validations:
34+
required: true
35+
- type: input
36+
id: version
37+
attributes:
38+
label: ObjectDocs Version
39+
description: "Run `objectdocs --version` to find this."
40+
placeholder: "e.g., 0.2.12"
41+
validations:
42+
required: true
43+
- type: dropdown
44+
id: package
45+
attributes:
46+
label: Package
47+
description: Which package is affected?
48+
options:
49+
- "@objectdocs/cli"
50+
- "@objectdocs/site"
51+
- Both
52+
validations:
53+
required: true
54+
- type: input
55+
id: node-version
56+
attributes:
57+
label: Node.js Version
58+
placeholder: "e.g., 22.x"
59+
- type: dropdown
60+
id: os
61+
attributes:
62+
label: Operating System
63+
options:
64+
- macOS
65+
- Linux
66+
- Windows
67+
- type: textarea
68+
id: additional
69+
attributes:
70+
label: Additional Context
71+
description: Any other context, screenshots, or log output about the problem.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Discussions
4+
url: https://github.com/objectstack-ai/objectdocs/discussions
5+
about: Ask questions or start a discussion
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Documentation Feedback
2+
description: Report an issue with the documentation or suggest improvements
3+
title: "[Docs]: "
4+
labels: ["documentation"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Help us improve our documentation! Report errors, suggest additions, or request clarifications.
10+
- type: dropdown
11+
id: type
12+
attributes:
13+
label: Feedback Type
14+
options:
15+
- Error or Inaccuracy
16+
- Missing Information
17+
- Improvement Suggestion
18+
- New Page Request
19+
- Translation Issue
20+
validations:
21+
required: true
22+
- type: input
23+
id: page-url
24+
attributes:
25+
label: Page URL
26+
description: Link to the page with the issue (if applicable).
27+
placeholder: "https://objectdocs.com/docs/..."
28+
- type: textarea
29+
id: description
30+
attributes:
31+
label: Description
32+
description: Describe the issue or suggestion.
33+
validations:
34+
required: true
35+
- type: textarea
36+
id: suggested-change
37+
attributes:
38+
label: Suggested Change
39+
description: If you have a specific fix or improvement in mind, describe it here.
40+
- type: textarea
41+
id: additional
42+
attributes:
43+
label: Additional Context
44+
description: Any other context, screenshots, or references.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Feature Request
2+
description: Suggest a new feature for ObjectDocs
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature! Please describe it below.
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem Statement
14+
description: A clear description of the problem this feature would solve.
15+
placeholder: "I'm always frustrated when..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: solution
20+
attributes:
21+
label: Proposed Solution
22+
description: Describe the solution you'd like.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: alternatives
27+
attributes:
28+
label: Alternatives Considered
29+
description: Any alternative solutions or features you've considered.
30+
- type: dropdown
31+
id: package
32+
attributes:
33+
label: Related Package
34+
options:
35+
- "@objectdocs/cli"
36+
- "@objectdocs/site"
37+
- Both
38+
- New package
39+
- type: textarea
40+
id: additional
41+
attributes:
42+
label: Additional Context
43+
description: Any other context or screenshots about the feature request.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Description
2+
3+
<!-- Describe your changes in detail -->
4+
5+
## Type of Change
6+
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Documentation update
10+
- [ ] Performance improvement
11+
- [ ] Refactoring
12+
- [ ] CI/CD change
13+
14+
## Related Issues
15+
16+
<!-- Link related issues: Fixes #123, Closes #456 -->
17+
18+
## Checklist
19+
20+
- [ ] My changes follow the project's coding conventions
21+
- [ ] I have tested my changes locally
22+
- [ ] I have updated documentation as needed
23+
- [ ] My changes don't break existing functionality

content/docs/development-plan.mdx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
3030
| Phase | Status | Progress |
3131
|-------|--------|----------|
3232
| Phase 1: Core Platform & Deployment | ✅ Complete | ~95% |
33-
| Phase 2: Developer Experience | 🟡 In Progress | ~35% |
33+
| Phase 2: Developer Experience | 🟡 In Progress | ~50% |
3434
| Phase 3: Advanced Features | ⬚ Planned | ~0% |
3535

3636
## 📅 Development Roadmap
@@ -46,7 +46,7 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
4646
- [x] PR preview deployments via Vercel integration (`preview.yml` workflow)
4747
- [x] Changesets-based versioned releases with automated NPM publishing
4848
- [ ] GitHub App for automated documentation syncing
49-
- [ ] GitHub Issues integration for documentation feedback
49+
- [x] GitHub Issues integration for documentation feedback
5050
- [ ] Branch-based documentation versioning
5151

5252
**Implemented**:
@@ -55,6 +55,8 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
5555
- Preview workflow (`preview.yml`) for PR preview deployments
5656
- Test lifecycle workflow (`test-lifecycle.yml`) for comprehensive testing
5757
- Link check workflow (`link-check.yml`) for content validation
58+
- Issue templates for bug reports, feature requests, and documentation feedback
59+
- Pull request template for consistent PR descriptions
5860

5961
</Card>
6062

@@ -87,11 +89,11 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
8789

8890
**Goal**: Streamline repository-to-documentation workflow
8991

90-
- [x] Full-featured ObjectDocs CLI with 5 commands (init, dev, build, start, translate)
92+
- [x] Full-featured ObjectDocs CLI with 6 commands (init, dev, build, start, translate, migrate)
9193
- [x] Zero-config project initialization (`objectdocs init`)
9294
- [x] Hot-reload development server with config watching
9395
- [x] Static and dynamic build modes
94-
- [ ] Automated content migration from README files
96+
- [x] Automated content migration from markdown files (`objectdocs migrate`)
9597
- [ ] Code snippet extraction from repository files
9698
- [ ] API documentation generation from source code
9799
- [ ] Automated changelog generation from commits
@@ -102,6 +104,7 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
102104
- `build` — Static/dynamic builds with artifact handling
103105
- `start` — Production server (static via `serve` or dynamic via Next.js)
104106
- `translate` — OpenAI-powered batch translation with `--all` flag
107+
- `migrate` — Convert markdown files to MDX with frontmatter generation and `meta.json` updates
105108

106109
</Card>
107110

@@ -171,9 +174,9 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
171174
- [x] GitHub Actions for continuous deployment (CI, release, preview)
172175
- [x] Pull request checks and status badges
173176
- [x] Automated release process via Changesets
174-
- [ ] Automated dependency updates via Dependabot
177+
- [x] Automated dependency updates via Dependabot
175178
- [ ] Automated release notes from git tags
176-
- [ ] Issue templates for documentation requests
179+
- [x] Issue templates for documentation requests
177180

178181
### Content & i18n System
179182
- [x] Full i18n support with 6 languages (EN, CN, JA, FR, DE, ES)
@@ -197,9 +200,9 @@ ObjectDocs is purpose-built for **GitHub-based repository documentation** with s
197200
- [x] OpenGraph dynamic image generation
198201
- [x] robots.txt for search engine crawling
199202
- [x] LLM-optimized content routes (`llms.txt`, `llms-full.txt`)
203+
- [x] Structured data (JSON-LD) for search engines
200204
- [ ] Lighthouse score optimization (95+ target)
201205
- [ ] Core Web Vitals monitoring
202-
- [ ] Structured data for search engines
203206

204207
## 🚀 Deployment Architecture
205208

@@ -235,10 +238,10 @@ Repository Structure:
235238
- Status: Complete
236239
- Deliverables: System design document, package overview, updated roadmap
237240

238-
3. **Content Migration Tools (🟡 Next Up)**
239-
- Target: Q2 2026
240-
- Status: In Planning
241-
- Deliverables: README migration, code snippet extraction, API doc generation
241+
3. **Content Migration Tools (✅ Complete)**
242+
- Target: Q1 2026
243+
- Status: Complete
244+
- Deliverables: `objectdocs migrate` command for markdown-to-MDX conversion with frontmatter and meta.json support
242245

243246
4. **Automated Changelog Generation (🟡 Planned)**
244247
- Target: Q2 2026
@@ -271,6 +274,7 @@ This roadmap is dynamic and will evolve based on community feedback and GitHub/V
271274

272275
| Date | Changes | Author |
273276
|------|---------|--------|
277+
| 2026-02-09 | Added migrate CLI command, GitHub issue/PR templates, JSON-LD structured data, updated Phase 2 → 50% | Team |
274278
| 2026-02-09 | Re-evaluated progress: Phase 1 → 95%, added sitemap/robots.txt/SEO features, updated next phase focus | Team |
275279
| 2026-02-08 | Updated progress status, marked completed features, added package overview | Team |
276280
| 2026-01-18 | Created development roadmap focused on GitHub-Vercel integration | Team |

packages/cli/bin/cli.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { registerTranslateCommand } from '../src/commands/translate.mjs';
1414
import { registerDevCommand } from '../src/commands/dev.mjs';
1515
import { registerBuildCommand } from '../src/commands/build.mjs';
1616
import { registerStartCommand } from '../src/commands/start.mjs';
17+
import { registerMigrateCommand } from '../src/commands/migrate.mjs';
1718

1819
const cli = cac('objectdocs');
1920

@@ -22,6 +23,7 @@ registerTranslateCommand(cli);
2223
registerDevCommand(cli);
2324
registerBuildCommand(cli);
2425
registerStartCommand(cli);
26+
registerMigrateCommand(cli);
2527

2628
cli.help();
2729
cli.version('0.0.1');

0 commit comments

Comments
 (0)