Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

docs: render typedoc documentation for the extension API #921

Merged
merged 5 commits into from
Nov 12, 2018

Conversation

ryan-blunden
Copy link
Contributor

@ryan-blunden ryan-blunden commented Nov 10, 2018

@sourcegraph-bot
Copy link
Contributor

Thanks for the contribution, @ryan-blunden!

You should receive feedback on your pull request within a few days. If you haven't already, please read through the contributing guide, and ensure that you've signed the CLA.

Did you run into any issues when creating this PR? Please describe them in an issue so we can make the experience better for the next contributor.

Copy link
Contributor

@chrismwendt chrismwendt left a comment

Choose a reason for hiding this comment

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

Sweet, could we host this on https://docs.sourcegraph.com/ ?

@sqs
Copy link
Member

sqs commented Nov 10, 2018

Sweet, could we host this on docs.sourcegraph.com ?

https://github.com/sourcegraph/docsite only serves Markdown now, but it could be made to serve static files from an npm package somewhat easily. The easier immediate solution is to use unpkg.com and publish the docs that way, though. (That is what @felixfbecker suggested and @ryan-blunden plans to do that.)

@felixfbecker felixfbecker changed the title chore: render typedoc documentation for the extension API docs: render typedoc documentation for the extension API Nov 10, 2018
@felixfbecker
Copy link
Contributor

Is this ready or WIP?

@ryan-blunden
Copy link
Contributor Author

ryan-blunden commented Nov 10, 2018 via email

@felixfbecker
Copy link
Contributor

I'm surprised that you had to pass no arguments to typedoc at all

@ryan-blunden
Copy link
Contributor Author

ryan-blunden commented Nov 10, 2018 via email

@ryan-blunden
Copy link
Contributor Author

The typedoc.js file is added and this is now ready for review.

sourcegraph-extension-api-docs

@felixfbecker
Copy link
Contributor

Looks great! Can you make the "sourcegraph" root module the entry point (landing page)? I think there is an option for that.

@ryan-blunden
Copy link
Contributor Author

I've got one more thing to fix, don't merge yet.

@ryan-blunden
Copy link
Contributor Author

This is now ready for final review.

@ryan-blunden ryan-blunden merged commit 6b42aa7 into master Nov 12, 2018
@ryan-blunden ryan-blunden deleted the rb/extension-api-docs branch November 12, 2018 23:06
@felixfbecker
Copy link
Contributor

@ryan-blunden you should release a new version of the package so we can start linking to it :)

@ryan-blunden
Copy link
Contributor Author

jdpleiness added a commit that referenced this pull request Jan 12, 2023
Update YAML and JSON configuration specifications to reflect changes in [#921](sourcegraph/src-cli#921)
jdpleiness added a commit that referenced this pull request Jan 13, 2023
…command (#46397)

* Update YAML and JSON config specs

Update YAML and JSON configuration specifications to reflect changes in [#921](sourcegraph/src-cli#921)

* Update examples with new `src validate` command

* Fix formatting issues

* Fix spelling
BolajiOlajide pushed a commit that referenced this pull request Apr 16, 2024
…alth check functionality (#921)

* Refactor validate functionality into pkg

To support expansion of the validate command, the current validate
functionality will need to be moved to a new subcommand.

* Use existing internal api package for graphql requests
* Remove create first admin features
* Refactor configuration structs to support multiple code hosts in future
* Add cool emoji to output
* Add insight test cleanup

* Add env vars for Github access token

Github access token is needed for new validate command. Add token to config.

* Add 'src validate install' command

* Move 'src validate' functionality into 'srv validate install' commmand to allow for
more validate subcommands.

* Change validation API to be more specific

* Change SRC_GITHUB_TOKEN to only be read if needed for command

* Update CHANGELOG.md

* Add warning if SRC_GITHUB_TOKEN isn't set

* An auth token is required for code hosts when using `src validate install`, warn user and exit if not set.

* Remove unused deps

* Separate tasks being performed

* Add symbol search to default queries

* Change default queries to use sourcegraph/src-cli repo instead of gorilla/mux
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants