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

Add: Typedocs #1208

Merged
merged 118 commits into from
Nov 30, 2023
Merged

Add: Typedocs #1208

merged 118 commits into from
Nov 30, 2023

Conversation

gagdiez
Copy link
Contributor

@gagdiez gagdiez commented Nov 23, 2023

Pre-flight checklist

Motivation

Currently there is a weird workflow to create the typedocs, this one is much more streightforward, and will be run on each merge to master.

Test Plan

This PR does not change the package's logic, only the docs.

Here is how they look like: https://gagdiez.github.io/near-api-js/

Copy link

changeset-bot bot commented Nov 23, 2023

⚠️ No Changeset found

Latest commit: 86acba1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gagdiez
Copy link
Contributor Author

gagdiez commented Nov 23, 2023

I know there are a lot of files being changed, but it is only about links for typedocs. Otherwise they show errors.

Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

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

Niiice!

Copy link
Collaborator

@andy-haynes andy-haynes left a comment

Choose a reason for hiding this comment

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

Awesome work @gagdiez !

@andy-haynes andy-haynes merged commit 6e5e41e into near:master Nov 30, 2023
1 check passed
andy-haynes pushed a commit that referenced this pull request Aug 15, 2024
* feat: add typedoc + change tsconfig.base

* feat: add typedoc action

* feat: temporary disable release action

* feat: update typedoc generator action

* feat: update typedoc generator action to support pnpm

* feat: update action logic for testing purposes

* feat: configure pnpm back to version 7

* feat: update action configuration

* feat: change action configuration

* feat: update build documentation action

* feat: minor changes

* feat: update tsconfig.base.json

* feat: update typedoc action

* feat: add readme option

* feat: update entryPoints

* feat: update entryPoints

* feat: change entryPoints to near-api-js

* feat: add package entrypointstrategy

* feat: fix adding modules content on typedoc generated documentation

* feat: update tsconfig.base.json

* feat: update tsconfig

* feat: update tsconfig files for each package

* feat: add custom-theme

* feat: add custom-theme

* feat: testing configuration

* feat: add externalSymbolLinkMappings

* feat: add typedoc-theme

* feat: update readme files links

* feat: update typedoc options

* feat: update tsconfig

* feat: update out folder

* feat: update typedoc-generator

* feat: add target-folder option to typedoc-generator action

* feat: update typedoc docs generator to allow linking README files to packages files

* feat: minor changes

* feat: update typedoc action

* feat: elete tsconfig.json

* feat: make changes to the step Update gh-pages Branch

* feat: update typedoc-generator steps

* feat: update action

* feat: add user/email

* feat: add tsconfig.json.local

* feat: add write  permissions

* feat: github action small change

* feat: fix divergent changes on action

* feat: small changes

* feat: add action that syncs branches

* feat: fix permission issues

* feat: created generated-documentation folder

* feat: add folder

* feat: clean code

* feat: change action configuration

* feat: change out folder to build

* feat: enable target-folder

* feat: update build destination folder

* feat: change action logic

* feat: update action

* feat: disable pull-request action

* feat: clean docs folder

* feat: remove lfs: true

* feat: update action

* feat: add concurrency handler

* feat: remove clean option

* feat: revert to gh-pages root

* feat: enable pull-request.action

* feat: add near-api-js package to docs job

* feat: disable jekyll

* feat: update links on README_TYPEDOC.md

* feat: migrate typedoc.json to javascript to handle github full path

* feat: delete typedoc.json

* feat: fix @link on account.ts

* feat: update near-api-js tsconfig

* feat: tsconfig test for near-api-js

* feat: add lib and text to exclude option

* feat: remove @link tag on unresolved link RequestSignTransactionsOptions

* feat: add typedoc-plugin-merge-modules

* feat: update tsconfig.base

* feat: update pnpm-lock

* feat: delete tsconfig.json

* feat: remove plugin typedoc-plugin-merge-modules

* feat: disable old docs-generator action

* feat: update near-api-js tsconfig

* feat: updtae tsconfig.base

* feat: update action

* feat: update action

* feat: fix failed to resolve link warning

* feat: fix not included in the documentation warning

* feat: delete typedoc.json file

* feat: typedoc update

* feat: test @link tag

* feat: @link wip

* feat: @link change

* feat: fix @link near.ts

* feat: near.ts @link

* feat: change near.ts

* feat: update @link

* feat: update @link tag

* feat: readme.md file update

* feat: enable release action

* feat: update githubpages option

* refactor: update typedoc-generator

* fix: fixed all links in docs

* fix: updated action

* fix: docs

* feat: added near-api-js to typedocs

* fix: output dir for typedocs

* fix: non-overlapping name for action

---------

Co-authored-by: few-sw <[email protected]>
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.

4 participants