mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 20:46:58 +02:00
feat(v2): docusaurus deploy: ability to configure port in git url (#4545)
* Creating a way to configure the port used on the guthub deploy. * Fixing some mistakes Documenting Adding githubPort documentation on docusaurus.config.js. Addind SSH protocol prefix. ssh:// Using the default protocol port instead of define it on the code. Prettify. * Fixing some mistakes Documenting Adding githubPort documentation on docusaurus.config.js. Addind SSH protocol prefix. ssh:// Using the default protocol port instead of define it on the code. Prettify. * Isolating the logic to generate the url and testing it. * Changing all the names used on tests to something more unserstandable. * Prettify Co-authored-by: Tales Porto <t.andrade-porto@klarna.com>
This commit is contained in:
parent
4efe6824b3
commit
e99bb43823
6 changed files with 132 additions and 8 deletions
1
packages/docusaurus-types/src/index.d.ts
vendored
1
packages/docusaurus-types/src/index.d.ts
vendored
|
@ -34,6 +34,7 @@ export interface DocusaurusConfig {
|
|||
organizationName?: string;
|
||||
projectName?: string;
|
||||
githubHost?: string;
|
||||
githubPort?: string;
|
||||
plugins?: PluginConfig[];
|
||||
themes?: PluginConfig[];
|
||||
presets?: PresetConfig[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue