Roman Hotsiy
e2d0cd5b18
fix: theme improvments by @stasiukanya
...
squashed commit of the following:
commit 6b07dc7fa0
Author: Anya Stasiuk <stasiukanya@gmail.com>
Date: Wed Nov 7 15:18:26 2018 +0200
theme fixes
2018-11-27 12:07:52 +02:00
Roman Hotsiy
f2f6909835
fix: fix spacing with nested markdown lists
...
fixes #718
2018-11-27 11:47:34 +02:00
Roman Hotsiy
155d214509
feat: add support for markdown in Server Object
2018-11-27 11:43:31 +02:00
Roman Hotsiy
3673720497
fix: nested oneOf button spacing
...
fixes #719
2018-11-27 11:36:07 +02:00
Roman Hotsiy
27d195ef38
chore: update styled components typings
2018-11-27 11:28:13 +02:00
Roman Hotsiy
af3eee1f52
chore: update dev deps
2018-11-27 11:27:36 +02:00
TATSUNO Yasuhiro
87fd7d7fdd
feat: Add feature to specify href for logo explicitly ( #645 )
...
Closes https://github.com/Rebilly/ReDoc/issues/627
2018-11-27 11:27:10 +02:00
Dave Oram
5e6f6fff03
Feature/dockerize redoc cli ( #614 )
...
* Docker container to run redoc-cli
* Dockerfile to package the 'redoc-cli' tool as a docker image
* Revert "Dockerfile to package the 'redoc-cli' tool as a docker image"
This reverts commit fec72ac0ea
.
* Dockerfile to package the 'redoc-cli' tool as a docker image
* Fixed with help from RomanGotsiy & xxxcoltxxx
2018-11-27 09:36:06 +02:00
mknoszlig
4691d78dc0
docs: fix link to Dockerfile. ( #710 )
...
[ci skip]
2018-11-14 14:37:14 +02:00
Roman Hotsiy
ebe8d3f68c
chore: use docker build hook to use Dockerfile from other location
...
[ci skip]
2018-11-06 16:56:56 +02:00
Roman Hotsiy
07b5e62897
chore: move Dockerfile to config/docker
2018-11-06 15:30:04 +02:00
Roman Hotsiy
ea5029b52d
chore: optimize docker build
2018-11-06 15:24:12 +02:00
Roman Hotsiy
e77df0ca07
fix: onLoaded callback not run on spec error
...
fixes #690
2018-11-06 14:09:10 +02:00
Roman Hotsiy
bba40cd34a
Merge 'mes3fork/watch-backend'
2018-11-06 11:00:12 +02:00
Robert DeRose
5c9f488656
docs: corrected Docker Port in README.md ( #691 )
...
The command to launch ReDoc with Docker had the `-p` values reversed.
According to the Docker Docs, it should be `HOST_PORT:CLIENT_PORT`.
The Nginx service is running on port 80 inside the container, 8080 is the
port exposed on the host.
2018-11-05 16:44:44 +02:00
lscholten
f40568b79e
feat: Add support for minLength and maxLength constraint humanization ( #700 )
...
According to #42 , `minItems` and `maxItems` are not yet rendered in the documentation.
This pull request shows the humazined form of `minItems` and `maxItems` next to the type description.
The [suggestion of fgabolde](https://github.com/Rebilly/ReDoc/issues/42#issuecomment-371883853 ) is followed and "characters" is simply replaced with "items".
![image](https://user-images.githubusercontent.com/1814807/47999845-0a13f900-e104-11e8-9ddc-adab701ec0bb.png )
Some examples are added to the demo.
2018-11-05 16:14:57 +02:00
Roman Hotsiy
b5f32247be
fix: fix hideHostname also hiding basePath
...
fixes #677
2018-11-05 15:57:01 +02:00
Roman Hotsiy
a69c402d9b
fix: improve scrolling performance in Chrome with non-wrapped json examples
2018-11-05 15:57:01 +02:00
Marius Rumpf
9e2853c2fd
fix(cli): old peer dependency issue with styled-components ( #699 )
2018-11-05 12:38:57 +02:00
Melvyn Sopacua
df43cfbe64
refactor(cli): Use chokidar for watching
...
Caveat: could not get this to work with a debounce.
Fixes: recursive file watching on Linux (and thus Docker).
2018-11-03 17:03:59 +01:00
Petr Flaks
97db54aa2e
docs: Add information to README about Docker image & Docker Hub ( #676 )
...
closes #657
2018-10-18 18:27:31 +03:00
Roman Hotsiy
a6652542f3
chore: Release 2.0.0-alpha.41 🔖
2018-10-18 14:35:46 +03:00
Roman Hotsiy
9a238e75eb
chore: fix lint issue
2018-10-18 14:19:30 +03:00
William Boman
6b7c5b7df3
fix: add null check in dispose method ( #675 )
2018-10-18 14:12:14 +03:00
Roman Hotsiy
7df471b69d
chore: fix cli ts compiling
2018-10-18 14:10:32 +03:00
Roman Hotsiy
ef520eacfa
chore: upgrade to styled-components@4
2018-10-18 12:14:40 +03:00
Roman Hotsiy
00846e1f55
chore: update dev deps
2018-10-18 11:27:28 +03:00
Roman Hotsiy
70cf29328e
fix: fix issue with broken markdown caused by marked bug
2018-10-18 10:46:13 +03:00
Roman Hotsiy
477c01a9de
chore: fix benchmark crashing
2018-10-18 10:40:26 +03:00
Roman Hotsiy
a4a40135ec
fix: extensionHook not being used
...
fixes #665
2018-10-08 11:54:09 +03:00
Roman Hotsiy
14acab32b2
chore: minor refactor
2018-10-05 16:48:08 +03:00
Roman Hotsiy
8f7fccc657
chore: Release 2.0.0-alpha.40 🔖
2018-10-05 16:26:17 +03:00
TATSUNO Yasuhiro
10bca66dce
feat: New option onlyRequiredInSamples ( #646 )
...
* Add onlyRequiredInSamples option that let user to show only required fields in Request samples.
2018-10-05 16:14:40 +03:00
Roman Hotsiy
fbcec82275
fix: minor media print improvements
2018-10-05 15:57:12 +03:00
Roman Hotsiy
393681b99e
feat: turn off code-blocks wrapping
...
Can enable using `typography.code.wrap` theme option, fixes #658
2018-10-05 15:10:53 +03:00
Roman Hotsiy
f39fc98eab
fix: fix panel paddings on small screens
2018-10-05 10:54:15 +03:00
Roman Hotsiy
974bc7ddb0
fix: remove extra-padding caused by empty group sections
2018-10-05 10:49:46 +03:00
Roman Hotsiy
505463f5ab
feat: new theme options spacing-> sectionHorizontal and sectionVertical
2018-10-05 10:49:23 +03:00
Roman Hotsiy
56ad8443b7
docs: add note about peerDependencies
...
closes #662
2018-10-04 11:15:55 +03:00
Roman Hotsiy
b87cf0d8d5
feat: new option sortPropsAlphabetically
2018-10-04 11:10:37 +03:00
Roman Hotsiy
5924cd7ea2
chore: refactor components parsing in markdown
2018-10-04 10:49:43 +03:00
Roman Hotsiy
aeda21bcd5
chore: upgrade marked to 0.5.1
2018-10-04 10:48:37 +03:00
Roman Hotsiy
3c8d6b623c
chore: fix lint issue + update readme
2018-10-03 11:02:13 +03:00
Ingo Claro
e9610e92d4
feet: add the option to render vendor extensions ( #552 )
...
* add the option to render vendor extensions
* refactor Extensions, move Redoc extension list to utils file
* feat: new option showExtensions (support list of extensions)
2018-10-03 10:02:30 +03:00
Roman Hotsiy
fe3383d1a3
fix: allOf inside oneOf overwritten and not rendered
...
fixes #660
2018-10-01 10:19:26 +03:00
Roman Hotsiy
533733bc7f
chore(cli): redoc-cli v0.6.4
2018-09-28 17:10:51 +03:00
Roman Hotsiy
4ab97c1316
chore(cli): redoc-cli v0.6.3
2018-09-28 16:53:26 +03:00
Roman Hotsiy
2d63fa0ba0
fix(cli): add styled-components to dependencies
2018-09-28 16:52:20 +03:00
Roman Hotsiy
d0c38cd158
chore: inconsistent local and travis, Revert "tests: add basic screenshot test for schema view"
...
This reverts commit 10ab7dabc0
.
2018-09-28 16:49:34 +03:00
Roman Hotsiy
355764dcd4
fix: server overriding didn't work on Path Item object
...
fixes #656
2018-09-27 18:21:24 +03:00