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

fix: Fixes #154 Modify TypeDocs that change the source to resolve rendering correctly #203

Merged
merged 2 commits into from Oct 5, 2018

Conversation

ltfschoen
Copy link
Contributor

@ltfschoen ltfschoen commented Oct 4, 2018

  • Add TypeDoc/TSDoc labels

  • Use HTML
    element in TypeDoc to generate new lines even to achieve a newline between lines of code

  • Use HTML <PRE><CODE> combination in TypeDoc for multiple line code generation

  • Add missing TypeDocs for HTTP constructor and send for HTTP and WS

  • Remove unnecessary assignment of = true default value in TypeDoc @param value and clean up text alignment

  • Verified that it displays correctly in development environment by running yarn; yarn polkadot-dev-build-docs; yarn gitbook serve, and then navigating to localhost:4000

…ectly

* Add TypeDoc/TSDoc labels

* Use HTML <BR> element in TypeDoc to generate new lines even to achieve a newline between lines of code

* Use HTML <PRE><CODE> combination in TypeDoc for multiple line code generation

* Add missing TypeDocs for HTTP `constructor` and `send` for HTTP and WS

* Remove unnecessary assignment of `= true` default value in TypeDoc @param value and clean up text alignment

* Verified that it displays correctly in development environment by running `yarn; yarn polkadot-dev-build-docs; yarn gitbook serve`, and then navigating to localhost:4000
@ltfschoen ltfschoen requested a review from jacogr October 4, 2018 17:45
@@ -46,14 +51,17 @@ export default class Api implements ApiInterface {

/**
* @name signature
* @signature jsonrpcSignature (method: InterfaceMethodDefinition): string
* @signature `jsonrpcSignature (method: InterfaceMethodDefinition): string`
Copy link
Member

Choose a reason for hiding this comment

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

This could be whacked. I actually saw it a day or two ago and then got ditracted. (It was for my lil jsdoc extension that built the docs on flowtype - when it still worked)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've pushed commit c9bc957 that removes this line

@jacogr jacogr merged commit fd596a1 into master Oct 5, 2018
@jacogr jacogr deleted the luke-154-api-docs-does-not-render-correctly branch October 5, 2018 06:42
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants