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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use docfy - no more addon-docs. #355

Merged
merged 23 commits into from
May 21, 2021
Merged

Conversation

LevelbossMike
Copy link
Owner

@LevelbossMike LevelbossMike commented May 19, 2021

This PR docs moves the addon documentation away from ember-cli-addon-docs and uses docfy.

This overhauls the docs page significantly. Preview:

Screenshot 2021-05-19 at 19 10 06

To still provide meaningful API docs we start to use typedoc. While not being perfect I think that's a reasonable approach to documenting the API of the addon for the time being. We are adding typedocs output into the dummy app's public-folder and link up the API-navigation manually. Not super elegant but it gets the job done 馃殌

Screenshot 2021-05-19 at 19 09 10

)

This PR isn't fully complete yet unfortunately - I still need to setup the github pages deployment.

  • setup gh-pages deployment

@LevelbossMike LevelbossMike marked this pull request as ready for review May 19, 2021 18:11
Copy link
Collaborator

@pangratz pangratz left a comment

Choose a reason for hiding this comment

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

Overall looks GREAT! Nice work 馃憦 馃憦 馃憦


Shouldn't tests/dummy/public/api-docs/ be added to .gitignore and only be generated once a new version is deployed? How does the deploy of a new page work at the moment? AFAICT this is done manually using ember deploy?

We should also update the engines so we use node > 14

tests/dummy/app/routes/application.ts Show resolved Hide resolved
tests/dummy/app/routes/application.ts Show resolved Hide resolved
<div
class='px-4 py-2 my-6 overflow-hidden bg-gray-100 rounded-md'
>
<code>
Copy link
Collaborator

Choose a reason for hiding this comment

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

We could add .select-all so it's selected in one click...

</li>
</ol>
</div>
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

鉂わ笍

@LevelbossMike LevelbossMike merged commit 16494fb into master May 21, 2021
@LevelbossMike LevelbossMike deleted the MIKE/remove-addon-docs branch May 21, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants