Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plan for migrating VS Code API docs #1949

Closed
26 tasks done
octref opened this issue Oct 8, 2018 · 3 comments
Closed
26 tasks done

Plan for migrating VS Code API docs #1949

octref opened this issue Oct 8, 2018 · 3 comments
Assignees
Labels
API documentation API reference issues extensibility extension author content under /api
Milestone

Comments

@octref
Copy link
Contributor

octref commented Oct 8, 2018

Following microsoft/vscode#58226 and internal discussions, we decided to move the existing extension docs (Extension Authoring & Extensibility Reference) from /docs to its own place, /api. You can preview it at https://vscode-ext-docs.azurewebsites.net/api.

This plan captures the migration. We plan to publish a minimal version by the end of October iteration, and continue to improve it in the following months.

Iconography

  • 🌟 Nice-to-have items. These items would make the whole extensibility doc more complete, but are not necessary for publishing.
  • 📝 Items that require writing new docs.
  • 📄 Link to file.

Working On The Items

  • Work happen in the ext-docs branch of vscode-docs
  • CI automatically builds ext-docs branch and publish it to https://vscode-ext-docs.azurewebsites.net/ for preview
  • Each item links to its corresponding markdown files. Each file has some writing instructions. Work on that file, push changes to ext-docs branch and check the results on https://vscode-ext-docs.azurewebsites.net.
  • Links: Link to end points on the preview site. We'll do a find-replace for the domain name before publishing.
  • Image/Gif: They follow the same folder convention as other parts of the website.
    • If you have /foo/bar/topic.md
    • Create a folder /foo/bar/images/topic/, and put images in it
    • In the MD file, link the file with ![](images/topic/<my-image>.png)
    • A sample change: 98022a9
  • Finally, remove the old documents/images. Endpoints to them will be redirected.

Write and Review key topics

Each topic has two assignees, for example A / B. A writes the doc and B reviews it.
This part tracks the writing. Reviewing assignment will be created as testplan items.

Hello Code

@auchenberg @octref

Hello Code is the HelloWorld sample in VS Code API land. This example is a cornerstone in the new API doc. It should:

  • Explain the lifecycle of scaffold / write / run / debug / test / publish extensions
  • Explain the fundamental concepts, such as contribution points, how to use VS Code API
  • Point people to correct tools and resources. For example, vscode NPM module, vsce for packaging and publishing, yo code for scaffolding.

Extension Guides

Each assignee should:


References

@octref will do the moving.

  • vscode API
  • Principle and Patterns
  • Contribution Point
  • Activation Event
  • Theme Color Reference
  • Document Selector
  • Complex Commands

Language Extensions

  • Migrate Language Extension Guidelines 📄 @octref
  • Split original Themes, Snippets and Colorizers into Syntax Highlighting (📄) and Snippets (📄) topics @octref (moving) / @jrieken (reviewing)
  • Migrate Language Server Example 📄 and 📄 @octref
@octref octref added this to the October 2018 milestone Oct 8, 2018
@octref octref added the API documentation API reference issues label Oct 8, 2018
@gregvanl gregvanl added the extensibility extension author content under /api label Oct 8, 2018
@lannonbr
Copy link

lannonbr commented Oct 9, 2018

The groundwork that has been done so far looks extremely promising. I think it will be great to have a more in-depth look at the API for existing devs as well as being welcoming to new devs.

Glad to see the work being done with this @octref!

@gregvanl
Copy link

Assigned to Pine so there is an owner

@octref
Copy link
Contributor Author

octref commented Nov 19, 2018

Closed in favor of #2199.

@octref octref closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API documentation API reference issues extensibility extension author content under /api
Projects
None yet
Development

No branches or pull requests

3 participants