Commit Graph

2594 Commits

Author SHA1 Message Date
Aarni Koskela
3028d3d7ac
Fix Chrome scrolling by using alternate scrollIntoViewIfNeeded (#1823)
* Break out scrollIntoViewIfNeeded into freely usable function

* Always use alternate implementation of scrollIntoViewIfNeeded

Refs #1714

Refs #1742
2021-12-09 12:51:02 +02:00
Oprysk Vyacheslav
ace52f7e49
chore: update packages (#1824) 2021-12-09 12:38:03 +02:00
dependabot[bot]
fe5292208c
chore(deps): bump prismjs from 1.24.1 to 1.25.0 (#1802)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 11:07:42 +02:00
AlexVarchuk
bc2d9a7d9c
fix: fix scroll in example dropdown (#1803) 2021-12-09 11:04:17 +02:00
Aarni Koskela
3d11a80c9c
chore: replace bundlesize with size-limit (#1822) 2021-12-09 10:29:35 +02:00
Junghyun Colin Kim
2e4663b3b7
Use an option usePathInSidebar (#1805)
* Use an option usePathInSidebar

If this option is enabled, it displays a path in the sidebar instead of
summary.

Usage:

```js
                <RedocStandalone
                spec={props.spec}
                options={{
                    scrollYOffset:'.navbar',
                    nativeScrollbars: true,
                    usePathInSidebar:true
                }}
```

* Rename usePathInSidebar to sideNavStyle

* Rename sidebarName to sidebarLabel

* Use ternary operator

* Use enums instead of raw string
2021-12-08 15:53:14 +02:00
AlexVarchuk
8b1eea8c0c
chore(cli): v0.13.1 (#1809) 2021-11-29 16:37:08 +02:00
AlexVarchuk
f0bd5c8acf
chore: v2.0.0-rc.58 (#1808) 2021-11-29 15:48:22 +02:00
AlexVarchuk
0e43ad3102
fix: add browser build for webpack 5 (#1796) 2021-11-29 14:27:06 +02:00
Oprysk Vyacheslav
b604bd8da8
fix: exclusiveMin/Max shows incorect range (#1799)
* fix: exclusiveMin/Max shows incorect range

* cover all number range cases & add unit tests

* add more tests

* fix maximum value

* simplify humanizeNumberRange function

* simplify exclusive checks

* Update src/utils/openapi.ts

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>

* update test coverage

* linting

* revert weird prettier changes

* add md files to prettier ignore

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-11-24 16:47:24 +02:00
Oprysk Vyacheslav
4fb5f914fa
chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
redocly-bot
82df17d871 sync: Synced local 'docs/' with remote 'docs/redoc/' 2021-11-23 17:46:45 +00:00
redocly-bot
7e287d984e sync: Synced local 'docs/' with remote 'docs/redoc/' 2021-11-23 14:47:32 +00:00
AlexVarchuk
ad652b9c7f
fix: mobile view in docker image (#1795) 2021-11-23 15:28:02 +02:00
redocly-bot
bf6b85d4ba sync: Synced local 'docs/' with remote 'docs/redoc/' 2021-11-23 05:08:42 +00:00
Heather Cloward
6cbd96a24a
[GSoD]Reorganizes the quickstart into a deployment guide and quickstart (#1749)
* Reorganizes the quickstart into a deployment guide and quickstart

* Minor edits

* fix: minor formatting issue

* fix: simplify phrasing

* Adds redirects, link to preview-docs docs, and other review edits

* remove IE polyfills as IE is no longer supported

Co-authored-by: Ivana Isadora Devcic <33730345+skadinna@users.noreply.github.com>
2021-11-23 16:07:56 +11:00
Roman Hotsiy
262177ddfd
chore: remove broken badges from README 2021-11-08 09:11:44 +02:00
Andriy Zaleskyy
734080c354
fix: Default boolean property value not rendered #1779 (#1781) 2021-10-27 16:55:20 +03:00
romanhotsiy
ebbd256b1f
chore: fix cli publish workflow 2021-10-11 21:00:54 +03:00
Roman Hotsiy
7b1a720942
chore(cli): v0.13.0 (#1771) 2021-10-11 20:53:41 +03:00
romanhotsiy
e4f34f5363
chore: fix publish workflow again 2021-10-11 20:39:20 +03:00
romanhotsiy
56543d239e
chore: fix publish workflow and disable s3 demo 2021-10-11 18:40:33 +03:00
romanhotsiy
aeb276aaf1
chore: update publish cli workflow 2021-10-11 18:25:47 +03:00
AlexVarchuk
e621535dc7
chore: v2.0.0-rc.57 (#1770) 2021-10-11 17:56:29 +03:00
raghavi92
352a851857
fix: No match scenario in search (#1667)
Co-authored-by: Alex Varchuk <olexandr.varchuk@gmail.com>
2021-10-11 17:34:20 +03:00
Gabriel Simon Gianotti
8e75f9929b
chore: remove commented out code (#1768) 2021-10-11 17:30:59 +03:00
Roman Hotsiy
4fb9c83525
fix: fix deref logic for oas3.1 (#1767) 2021-10-11 15:02:08 +03:00
Andriy Zaleskyy
3b8d6441bd
fix: The number of items in the array in the array is incorrect #1762 (#1763) 2021-10-11 13:05:50 +03:00
kylenarocroc
43451ba4cd
feat: add q/kdb+ syntax highlighting (#1605) 2021-10-11 12:50:09 +03:00
AlexVarchuk
952c05c6b4
fix: improve publish action scripts (#1729) 2021-10-11 12:40:56 +03:00
Roman
ba25e24087
Merge pull request #1766 from Redocly/fix/missing-description-when-ref-used-1727
fix: OpenAPI 3.1: Missing description when $ref used #1727
2021-10-11 12:18:19 +03:00
Roman Marshevskyy
fe6909ed80 fix: OpenAPI 3.1: Missing description when $ref used #1727 2021-10-11 11:51:17 +03:00
Roman Marshevskyy
35f77878de fix: OpenAPI 3.1: Missing description when $ref used #1727 2021-10-11 10:53:28 +03:00
Swapnil Ogale
0f53f4b208
Merge pull request #1748 from HCloward/docs/more-readme-updates
[GSoD]Updates readme with about section and organizes features list
2021-10-11 10:37:02 +11:00
Heather Cloward
c4564de324 Updates image src 2021-10-09 14:46:36 -04:00
Heather Cloward
3cc6ea4589 Minor edit 2021-10-09 14:44:37 -04:00
Heather Cloward
1c8578ea88 Adds comparison table and OpenAPI link section 2021-10-09 14:40:39 -04:00
AlexVarchuk
bccd21394e
fix: scrolling to the first item (#1753) 2021-09-27 12:21:59 +03:00
Heather Cloward
8d93021f17 Minor edits 2021-09-22 22:20:49 -04:00
Heather Cloward
86907bd7ae Merge branch 'docs/more-readme-updates' of github.com:HCloward/redoc into docs/more-readme-updates 2021-09-22 22:17:36 -04:00
Heather Cloward
669adddc9d Updates per reviews and adds new logo 2021-09-22 22:17:19 -04:00
Ivana Isadora Devcic
c87600d520
fix: Redoc spelling 2021-09-21 22:17:48 +02:00
AlexVarchuk
3f6bf5febb
chore: update libs (#1707) 2021-09-20 14:08:58 +03:00
Mark Theisen
bd9390a5bf
feat: new option generatedPayloadSamplesMaxDepth (#1642) 2021-09-14 13:08:50 +03:00
Heather Cloward
899d7f9637 Adds some notes to deployment 2021-09-13 07:22:18 -04:00
Heather Cloward
f8925facf8 Updates readme with about section and organizes features list 2021-09-12 21:41:29 -04:00
Swapnil Ogale
1d088a8dd8
Merge pull request #1737 from HCloward/docs/update-readme
[GSOD]Removes content that is now in documentation and adds link to docs
2021-09-01 22:22:49 +10:00
Swapnil Ogale
e7f7d963bd
Update README.md
Co-authored-by: Adam Altman <adam@rebilly.com>
2021-09-01 22:03:57 +10:00
Ivana Isadora Devcic
a7ed8ddd98
Apply suggestions from code review 2021-09-01 13:48:46 +02:00
Andriy Zaleskyy
a8e0c29685
fix: Schema for events incorrectly omits readOnly and includes writeOnly (#1720 #1540) 2021-08-31 15:39:55 +03:00