1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-12 10:23:16 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
Jared Burrows
4ba74c7f9c Fix pymdownx.emoji extension warning (#8559)
## Description
 - Fix pymdownx.emoji extension warning

## Repro
 - `mkdocs build`

## Warning
```
❯ mkdocs build
INFO    -  DeprecationWarning: 'materialx.emoji.twemoji' is deprecated.
           Material emoji logic has been officially moved into mkdocs-material
           version 9.4. Please use Material's 'material.extensions.emoji.twemoji'
           instead of 'materialx.emoji.twemoji' in your 'mkdocs.yml' file.

           ```
           markdown_extensions:
             - pymdownx.emoji:
                 emoji_index: !!python/name:material.extensions.emoji.twemoji
                 emoji_generator: !!python/name:material.extensions.emoji.to_svg
           ```

           'mkdocs_material_extensions' is deprecated and will no longer be
           supported moving forward. This is the last release.

             File "/opt/homebrew/lib/python3.12/site-packages/materialx/emoji.py", line 118, in twemoji
               return _patch_index(options)
             File "/opt/homebrew/lib/python3.12/site-packages/materialx/emoji.py", line 68, in _deprecated_func
               warnings.warn(
WARNING -  Material emoji logic has been officially moved into mkdocs-material
           version 9.4. Please use Material's 'material.extensions.emoji.twemoji'
           instead of 'materialx.emoji.twemoji' in your 'mkdocs.yml' file.

           ```
           markdown_extensions:
             - pymdownx.emoji:
                 emoji_index: !!python/name:material.extensions.emoji.twemoji
                 emoji_generator: !!python/name:material.extensions.emoji.to_svg
           ```

           'mkdocs_material_extensions' is deprecated and will no longer be
           supported moving forward. This is the last release.
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /Users/<>/Downloads/site
INFO    -  Documentation built in 0.13 seconds
```

Co-authored-by: Jesse Wilson <jesse@swank.ca>
2024-11-21 07:19:31 +00:00
Jesse Wilson
0343ff823c Fixup some deploy_website problems (#8063)
* Fixup some deploy_website problems

* Skip all internal packages
2023-11-20 10:26:12 -05:00
Yuri Schimke
05718b4d87 Use HTML for docs (#7548) 2022-12-24 10:16:30 +10:00
Jesse Wilson
4b52e7a131 More docsite changes, split the 4.x changelog 2022-02-06 12:23:37 -05:00
Jesse Wilson
a8e0f46488 More deploy_website fixes 2022-02-06 11:58:16 -05:00
Jesse Wilson
ef034224af Fixup mkdocs build 2022-02-06 11:42:49 -05:00
Jesse Wilson
805470e1e6 Fixup some things with the updated website 2022-02-06 11:35:36 -05:00
Andre_601
106c8d2d5c Improve OkHttp Docs (#6566)
* Improve OkHttp documentation

* Remove placeholder files

* remove site folder

* Create upgrading_to_okhttp_4.md

* Add redirects and fix paths

* add missing tls page to redirects

* Use custom SVG icons

* Update deploy_website.sh

* Push new changes.
2022-02-05 21:19:09 -05:00
Clément Dessoude
1ff16232f8 fix(docs): update broken link on docs homepage (#6882) 2021-10-15 01:04:08 -04:00
Jasper Vandemalle
2b9e52c6c4 Disable edit links (#6301)
Closes #6217
2020-10-02 11:45:35 -04:00
Andre_601
c539482258 Update and improve recipes page in docs (#6270)
* Add PymdownX tabbed

* Update recipes.md

* fix invalid tab names

* Fix additional tabs and publish

* remove site directory
2020-09-15 12:28:35 -04:00
Yuri Schimke
8e8863b92f Caching Docs [draft] (#6009) 2020-05-07 07:03:15 +01:00
Yuri Schimke
39dbf4b7d5 Add missing documentation link (#5896)
* Add missing links

* Tweak 3.x to 3.12.x

* Update mkdocs.yml

* Update mkdocs.yml

* Update mkdocs.yml
2020-03-25 18:03:14 -04:00
Yuri Schimke
17fc242fb9 Security Providers Documentation 2020-01-13 00:22:31 +00:00
Saket Narayan
b20a6a8c15 Explicitly specify site-url for mkdocs 2019-12-21 17:58:47 -05:00
Jesse Wilson
40e69e6cc4 Include Brotli docs in the OkHttp website 2019-10-06 10:45:55 -04:00
Jesse Wilson
7c802961af Add Kotlin listings for OkHttp recipes doc 2019-09-28 14:00:26 -04:00
Jesse Wilson
abe49cf435 Merge pull request #5235 from square/jwilson.0624.coc
Import Square's Open Source Code of Conduct
2019-06-24 19:13:03 -07:00
Jesse Wilson
eee8f6e5b9 Import Square's Open Source Code of Conduct
Source:
https://medium.com/square-corner-blog/open-source-code-of-conduct-e5c4dc56229e
2019-06-24 18:59:06 -07:00
Andrew (Paradi) Alexander
823abec95d Add favicon to docs site 2019-06-24 12:13:37 -04:00
Jesse Wilson
50e4c422d2 Move the API docs from /okhttp/api to /okhttp/4.x 2019-06-21 23:23:46 -04:00
Jesse Wilson
a56f483cd2 Use cash-market as the font 2019-06-21 00:06:02 -04:00
Jesse Wilson
108fef3f6a Improve OkHttp documentation.
Combine the marketing page (index.md) with the GitHub README.md.

Fix links pointing to 3.x documentation.

Use Markdown tables instead of HTML tables.
2019-06-20 23:39:27 -04:00
Jesse Wilson
70cd67c75d Tweak the MkDocs build
Retain the 3.x docs by doing a dirty MkDocs build
Build more Dokka projects
2019-06-20 00:01:47 -04:00
AJ
682db1252c Use MkDocs to generate website
This PR sets up [MkDocs](https://squidfunk.github.io/mkdocs-material/) static site generation for both user documentation and API docs.
2019-06-19 18:14:21 -07:00