Skip to content
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

Sync Fork #26

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
44372d5
sync: Synced local 'docs/' with remote 'docs/redoc/'
Jun 13, 2023
9166390
chore: remove broken link from demo (#2338)
AlexVarchuk Jun 13, 2023
7e05202
fix: renames 'FieldContstraints' to 'FieldConstraints' (#2352)
Ricagraca Jul 11, 2023
4386867
fix: schema oneOf title with const (#2350)
AlexVarchuk Jul 11, 2023
c407726
docs: adds vale rules and workflow for running in CI (#2348)
HCloward Jul 11, 2023
8907ff2
chore: update packages dependecy (#2360)
Oprysk Jul 19, 2023
8fbc955
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#2359)
dependabot[bot] Jul 19, 2023
d21af58
feat: enable keyboard navigation (#2361)
RomanPidkostelnyi Jul 19, 2023
9b73dae
docs: fix and update links in redoc-vendor-extensions (#2368)
adamaltman Jul 21, 2023
0bb21c8
feat: add x-tags (#2355)
AlexVarchuk Jul 26, 2023
054f604
feat: add support of react 18 (#2369)
RomanPidkostelnyi Jul 26, 2023
c7d07cd
chore: update cypress to 12.17.1
AlexVarchuk Jul 19, 2023
6a52698
chore: upgrade openapi-core to 1.0.0-rc.2
AlexVarchuk Jul 19, 2023
7529fd2
chore: upgrade packages for fixing vulnerabilities
AlexVarchuk Jul 19, 2023
d6eac39
docs: Remove Redoc CLI and a non-existent config option
lornajane Aug 3, 2023
ae74ef9
chore: v2.1.0 (#2382)
AlexVarchuk Aug 17, 2023
9e14e14
fix: hotfix, crash after 2.1 release
RomanHotsiy Aug 17, 2023
c86fd7f
chore: v2.1.1
RomanHotsiy Aug 17, 2023
2eff85a
chore: add tests for cover field default crash (#2389)
AlexVarchuk Aug 31, 2023
76edc15
fix: react18 cli integration (#2404)
Oprysk Sep 8, 2023
98813e6
chore(deps): bump @cypress/request and cypress (#2410)
dependabot[bot] Sep 8, 2023
1d61001
fix: style RefreshToken URL as <code> in the authorization section
ckszabi Sep 11, 2023
0e38089
chore: v2.1.2 (#2413)
AlexVarchuk Sep 11, 2023
26674e7
fix: more cases for react18 and cli integration (#2416)
tatomyr Sep 15, 2023
b3503f2
Config docs and README refresh (#2393)
lornajane Sep 21, 2023
aadc32c
sync: Synced local 'docs/' with remote 'docs/redoc/'
Sep 21, 2023
ff492b5
sync: Synced local 'docs/' with remote 'docs/redoc/'
Sep 28, 2023
75065a2
sync: Synced local 'docs/' with remote 'docs/redoc/'
Oct 9, 2023
25394b7
sync: Synced local 'docs/' with remote 'docs/redoc/'
Oct 9, 2023
f28a807
sync: Synced local 'docs/' with remote 'docs/redoc/'
Oct 18, 2023
88f813e
chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 (#2427)
dependabot[bot] Oct 22, 2023
ba7cd0a
sync: Synced local 'docs/' with remote 'docs/redoc/'
Oct 23, 2023
b36a6e2
fix: default value as object in request body (#2437)
AlexVarchuk Oct 23, 2023
bf96061
fix: hideRequestPayloadSample (#2436)
AlexVarchuk Oct 23, 2023
8ddeb6d
fix: display string pattern in array items (#2438)
AlexVarchuk Oct 24, 2023
b2d8e0f
chore: v2.1.3 (#2439)
AlexVarchuk Oct 25, 2023
54b4476
Merge branch 'main' of https://github.com/Redocly/redoc into Redocly-…
ckoegel Nov 1, 2023
c0283c5
update snapshots
ckoegel Nov 1, 2023
eee1fa6
redo install and snapshots
ckoegel Nov 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# ReDoc Contributing Guide
# Redoc Contributing Guide

Hi! We're really excited that you are interested in contributing to ReDoc. This is the wrong place to do that if you don't work at Bandwidth :). Please contribute to [Redocly/redoc](https://github.com/Redocly/redoc) instead. If you are from Bandwidth, before submitting your contribution, please make sure to take a moment and read through the following guidelines.

- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
- [Development Setup](#development-setup)
- [Project Structure](#project-structure)
- [Redoc Contributing Guide](#redoc-contributing-guide)
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
- [Development Setup](#development-setup)
- [Commonly used NPM scripts](#commonly-used-npm-scripts)
- [Project Structure](#project-structure)

## Issue Reporting Guidelines
- Before filing a new issue, try to make sure your problem doesn’t already exist.
Expand All @@ -22,7 +24,7 @@ Before submitting a pull request, please make sure the following is done:

## Development Setup

You will need [Node.js](http://nodejs.org) at `v12.0.0+`.
You need [Node.js](http://nodejs.org) at `v12.0.0+`.

After cloning the repo, run:

Expand Down Expand Up @@ -88,7 +90,7 @@ There are some other scripts available in the `scripts` section of the `package.

- **`src/common-elements`**: contains common Styled elements or components used in multiple places
- **`src/components`**: contains main visual components
- **`src/services`**: contains different services used by ReDoc including MobX stores
- **`src/services`**: contains different services used by Redoc including MobX stores
- **`src/services/models`**: contains classes for OpenAPI entities (e.g. Response, Operations, etc)
- **`src/types`**: contains extra typescript typings including OpenAPI doc typings
- **`src/utils`**: utility functions
Expand Down
110 changes: 110 additions & 0 deletions .github/styles/Rules/BritishEnglish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
extends: substitution
message: 'Use the US spelling "%s" instead of British "%s".'
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words
level: error
ignorecase: true
swap:
aeon: eon
aeroplane: airplane
ageing: aging
aluminium: aluminum
anaemia: anemia
anaesthesia: anesthesia
analyse: analyze
annexe: annex
apologise: apologize
behaviour: behavior
busses: buses
calibre: caliber
cancelled: canceled
cancellation: cancelation
catalogue: catalog
categorise: categorize
categorised: categorized
categorises: categorizes
categorising: categorizing
centre: center
cheque: check
civilisation: civilization
civilise: civilize
colour: color
cosy: cozy
cypher: cipher
dependant: dependent
defence: defense
distil: distill
draught: draft
encyclopaedia: encyclopedia
enquiry: inquiry
enrol: enroll
enrolment: enrollment
enthral: enthrall
expiry: expiration
favourite: favorite
fibre: fiber
fillet: filet
flavour: flavor
furore: furor
fulfil: fulfill
gaol: jail
grey: gray
humour: humor
honour: honor
initialled: initialed
initialling: initialing
instil: instill
jewellery: jewelry
labelling: labeling
labelled: labeled
labour: labor
libellous: libelous
licence: license
likeable: likable
liveable: livable
lustre: luster
manoeuvre: maneuver
marvellous: marvelous
matt: matte
meagre: meager
metre: meter
modelling: modeling
moustache: mustache
neighbour: neighbor
normalise: normalize
offence: offense
organise: organize
organisation: organization
orientated: oriented
paralyse: paralyze
plough: plow
pretence: pretense
programme: program
pyjamas: pajamas
rateable: ratable
realise: realize
recognise: recognize
reconnoitre: reconnoiter
rumour: rumor
sabre: saber
saleable: salable
saltpetre: saltpeter
sceptic: skeptic
sepulchre: sepulcher
signalling: signaling
sizeable: sizable
skilful: skillful
sombre: somber
smoulder: smolder
speciality: specialty
spectre: specter
splendour: splendor
standardise: standardize
standardised: standardized
sulphur: sulfur
theatre: theater
travelled: traveled
traveller: traveler
travelling: traveling
unshakeable: unshakable
wilful: willful
yoghurt: yogurt
10 changes: 10 additions & 0 deletions .github/styles/Rules/FutureTense.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
extends: existence
message: 'Avoid using future tense: "%s". Use present tense instead.'
link: https://intranet.redoc.ly/contributing/documentation-style-guide/#tone-and-audience
ignorecase: true
level: error
raw:
- "(going to( |\n|[[:punct:]])[a-zA-Z]*|"
- "will( |\n|[[:punct:]])[a-zA-Z]*|"
- "won't( |\n|[[:punct:]])[a-zA-Z]*|"
- "[a-zA-Z]*'ll( |\n|[[:punct:]])[a-zA-Z]*)"
11 changes: 11 additions & 0 deletions .github/styles/Rules/HeaderGerunds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends: existence
message: 'Do not start headings with with a gerund (ing word). Use an imperative verb instead.'
link: https://intranet.redoc.ly/contributing/documentation-style-guide/#content-organization
level: error
scope: heading
tokens:
- '^\w*ing.*'
exceptions:
- expandSingleSchemaField
- hideLoading
- hideSingleRequestSampleTab
16 changes: 16 additions & 0 deletions .github/styles/Rules/InclusionGenderCulture.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
extends: substitution
message: 'Use inclusive language. Consider "%s" instead of "%s".'
link: https://intranet.redoc.ly/contributing/documentation-style-guide/#grammar-and-syntax
level: error
ignorecase: true
swap:
he: they
his: their
she: they
hers: their
blacklist(?:ed|ing|s)?: blocklist
whitelist(?:ed|ing|s)?: allowlist
master: primary, main
slave: replica
he/she: they
s/he: they
8 changes: 8 additions & 0 deletions .github/styles/Rules/OxfordComma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: existence
message: "Use the Oxford comma in '%s'."
link: https://docs.microsoft.com/en-us/style-guide/punctuation/commas
scope: sentence
level: error
nonword: true
tokens:
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'
150 changes: 150 additions & 0 deletions .github/styles/Vocab/Rules/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
[Aa]nsible
[Aa]utostart
[Bb]locklist
[Bb]locklists
[Bb]oolean
[Bb]reakpoint
[B]reakpoints
[Cc]ancelation
[Cc]lassloading
[Cc]hargeback
[Cc]hargebacks
[Cc]he
[Cc]rypto
[Cc]ryptocurrency
[Dd]evfile|[Dd]evfiles
[Dd]ownstream
[Dd]ownstreaming
[Ff]actories|[Ff]actory
[Gg]it
[Gg]rafana
[Hh]eatmap
[Hh]elm
[Hh]ostname
[Ii]tem
[Jj]etbrains
[Kk]eycloak
[Ll]iveness
[Ll]ombok
[Ll]oopback
[Mm]aven
[Mm]inikube
[Mm]inishift
[Mm]ixin|[Mm]ixins
[Mm]odularization
[Mm]ulticluster
[Mm]ultihost
[Mm]ultinode
[Mm]ultitenant
[Mm]ultiuser
[Mm]ultizone
[Nn]amespace|[Nn]amespaces
[Nn]etcoredebug[Oo]utput
[Nn]ginx
[Oo]nboarding
[Pp]podman
[Pp]reconfigured
[Rr]eadonly
[Rr]epresentment
[Rr]ollout|[Rr]ollouts
[Rr]untime|[Rr]untimes
[Ss]erializer
[Ss]erverless
[Ss]ubnetwork
[Ss]ubpath|[Ss]ubpaths
[Tt]heia
[Tt]olerations
[Tt]ruststore
[Uu]ninstallation
[Uu]nstaged
[Uu]ntrusted
[Ww]orkspace|[Ww]orkspaces
[Yy]eoman
\.NET
adoc
Antora
API
Apigee
AsciiDoc
AWS|aws
Azure
Bierner
Bitbucket
btn
Btrfs
CentOS
Ceph
Che-Theia
CLI
ConfigMap|ConfigMaps
Ctrl
DaemonSet
Dev Workspace
Developer Perspective
DNS
Docker
Dockerfile
Dotnet
Endevor
endif
GitHub|github
GitLab
Gluster
Gradle
Grafana
GUI
HTTPS|https
I/O
IDE|ide|IDEs
Intelephense
IntelliJ IDEA
Java
Java Lombok
JSON|json
JVM|jvm
kbd
Kubespray
Laravel
Let\'s Encrypt
Mattermost
mebibytes
Microsoft Azure
millicores
Mulesoft
MySQL
Netlify
Node.js
npm
NuGet
OAuth
ocp
OmniSharp
OpenShift
OpenTracing
Operator
OperatorHub
OpenAPI
osd
PHP
PostgreSQL
Quarkus
Rebilly
Redoc
Redocly
Redocly-cli
SCM
Sharding
SonarLint
Spring Boot
SVG
Uber
URI|URIs
URL|url|URLs
Velero
Vercel
Visual Studio Code
vsix
Webview|Webviews
Woopra
YAML|yaml
Zowe
Empty file.
16 changes: 16 additions & 0 deletions .github/workflows/vale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Docs lint
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
vale:
name: vale action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: errata-ai/vale-action@reviewdog
with:
files: '["README.md", "docs"]'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading
Loading