-
Notifications
You must be signed in to change notification settings - Fork 149
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(cli): Set instance
when migrating Mintlify > Fern
#5093
base: main
Are you sure you want to change the base?
Conversation
instance
when migrating Mintlify > Ferninstance
when migrating Mintlify > Fern
instance
when migrating Mintlify > Ferninstance
when migrating Mintlify > Fern
builder.setInstance({ | ||
companyName: mint.name | ||
}); | ||
this.context.logger.debug("Set instance"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to output the name here, as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, updating now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RohinBhargava are you thinking that we should output the name from the mint file or the name we auto-generate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question! I think you have the most context, but I would assume mint.name
, given the locality of the debug statement to the invocation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattblank11 could see this being: Added instance ${url} to docs.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate the input!
I agree with @dsinghvi on returning the url, if anything. IMO it's weird to return a string from the setInstance
function but I don't love the alternative of creating a separate getInstanceUrl
function. Feel free to push back on this!
instance
when migrating Mintlify > Ferninstance
when migrating Mintlify > Fern
Related to this task
Here's what the
docs.yml
file looks like for Bland AI with the instances value set:@coderabbitai summary