diff --git a/docs/src/ci.md b/docs/src/ci.md index 790d83ef8f..90d5ad3720 100644 --- a/docs/src/ci.md +++ b/docs/src/ci.md @@ -152,7 +152,7 @@ We run our tests on CircleCI, with our [pre-built Docker image](./docker.md). Ru 1. Use the pre-built [Docker image](./docker.md) in your config like so: - ```yaml + ```yml docker: - image: mcr.microsoft.com/playwright:bionic environment: diff --git a/docs/src/intro.md b/docs/src/intro.md index 576ac55174..ed090beb76 100644 --- a/docs/src/intro.md +++ b/docs/src/intro.md @@ -90,7 +90,7 @@ let page; ### In TypeScript TypeScript support will work out-of-the-box. Types can also be imported explicitly. -```ts +```js let page: import('playwright').Page; ``` diff --git a/docs/src/links-js.md b/docs/src/links-js.md deleted file mode 100644 index f195d61e24..0000000000 --- a/docs/src/links-js.md +++ /dev/null @@ -1,15 +0,0 @@ -[Array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array "Array" -[boolean]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type "Boolean" -[Buffer]: https://nodejs.org/api/buffer.html#buffer_class_buffer "Buffer" -[ChildProcess]: https://nodejs.org/api/child_process.html "ChildProcess" -[Error]: https://nodejs.org/api/errors.html#errors_class_error "Error" -[function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function "Function" -[Map]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map "Map" -[null]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null "null" -[number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number" -[Object]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object "Object" -[Promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise "Promise" -[Readable]: https://nodejs.org/api/stream.html#stream_class_stream_readable "Readable" -[RegExp]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp "RegExp" -[string]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "string" -[URL]: https://nodejs.org/api/url.html "URL" \ No newline at end of file diff --git a/docs/src/links-python.md b/docs/src/links-python.md deleted file mode 100644 index 09aab35ce8..0000000000 --- a/docs/src/links-python.md +++ /dev/null @@ -1,11 +0,0 @@ -[Any]: https://docs.python.org/3/library/typing.html#typing.Any "Any" -[bool]: https://docs.python.org/3/library/stdtypes.html "bool" -[Callable]: https://docs.python.org/3/library/typing.html#typing.Callable "Callable" -[Dict]: https://docs.python.org/3/library/typing.html#typing.Dict "Dict" -[float]: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex "float" -[int]: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex "int" -[List]: https://docs.python.org/3/library/typing.html#typing.List "List" -[NoneType]: https://docs.python.org/3/library/constants.html#None "None" -[pathlib.Path]: https://realpython.com/python-pathlib/ "pathlib.Path" -[str]: https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str "str" -[Union]: https://docs.python.org/3/library/typing.html#typing.Union "Union" \ No newline at end of file diff --git a/docs/src/links.md b/docs/src/links.md deleted file mode 100644 index 12071544b9..0000000000 --- a/docs/src/links.md +++ /dev/null @@ -1,9 +0,0 @@ -[Element]: https://developer.mozilla.org/en-US/docs/Web/API/element "Element" -[Evaluation Argument]: ./core-concepts.md#evaluationargument "Evaluation Argument" -[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols "Iterator" -[origin]: https://developer.mozilla.org/en-US/docs/Glossary/Origin "Origin" -[selector]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors "selector" -[Serializable]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#Description "Serializable" -[UIEvent.detail]: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail "UIEvent.detail" -[UnixTime]: https://en.wikipedia.org/wiki/Unix_time "Unix Time" -[xpath]: https://developer.mozilla.org/en-US/docs/Web/XPath "xpath"