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

Ability to configure top level comment in generated file #325

Merged
merged 9 commits into from
Dec 4, 2024
Merged

Conversation

bogdan
Copy link
Collaborator

@bogdan bogdan commented Dec 3, 2024

Fixes #324.

@bogdan bogdan merged commit 9e25dbd into main Dec 4, 2024
8 checks passed
* Add `banner` option that allow to control JSDoc on top of generated file. [#324](https://github.com/bogdan/repo/issues/324).

``` ruby
JsRoutes.configure do |c|
Copy link

@zhuravel zhuravel Dec 4, 2024

Choose a reason for hiding this comment

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

@bogdan What am I doing wrong?

NoMethodError: undefined method `configure' for module JsRoutes (NoMethodError)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Typo, configure => setup.

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.

how to stop writing timestamp in routes.js file?
2 participants