mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Remove axios in favour of native in API docs (#7312)
Massive thanks to @thomasheartman for digging around GitHub and figuring out how to do this. Regrettably it doesn't use the native fetch, which is what I thought it would do. It's more code so I'm happy to close it but I still think it's worth the discussion Before this PR: ![image](https://github.com/Unleash/unleash/assets/107407814/a62111ca-2bae-4e7b-b579-018c9b2f9998) After this PR: ![image](https://github.com/Unleash/unleash/assets/107407814/bbcfa56e-b950-4806-b938-9e8fa13e7975)
This commit is contained in:
parent
f80726ddb6
commit
a31cbec17a
@ -183,6 +183,47 @@ module.exports = {
|
||||
'swift',
|
||||
],
|
||||
},
|
||||
languageTabs: [
|
||||
{
|
||||
highlight: 'bash',
|
||||
language: 'curl',
|
||||
},
|
||||
{
|
||||
highlight: 'python',
|
||||
language: 'python',
|
||||
variant: 'requests',
|
||||
},
|
||||
{
|
||||
highlight: 'go',
|
||||
language: 'go',
|
||||
},
|
||||
{
|
||||
highlight: 'javascript',
|
||||
language: 'nodejs',
|
||||
variant: 'native',
|
||||
},
|
||||
{
|
||||
highlight: 'ruby',
|
||||
language: 'ruby',
|
||||
},
|
||||
{
|
||||
highlight: 'csharp',
|
||||
language: 'csharp',
|
||||
variant: 'httpclient',
|
||||
},
|
||||
{
|
||||
highlight: 'php',
|
||||
language: 'php',
|
||||
},
|
||||
{
|
||||
highlight: 'java',
|
||||
language: 'java',
|
||||
},
|
||||
{
|
||||
highlight: 'powershell',
|
||||
language: 'powershell',
|
||||
},
|
||||
],
|
||||
footer: {
|
||||
style: 'dark',
|
||||
links: [
|
||||
|
Loading…
Reference in New Issue
Block a user