Commit Graph

33 Commits

Author SHA1 Message Date
Corey McKrill d581512171
Logging: Improve compatibility with multisite (#44735)
* Add static method for getting the log directory

* Add filter for customizing the log directory path

* Handle case where constant is already defined

* Do directory creation on the fly instead of during install

* Replace all Core usages of WC_LOG_DIR

* Ensure each site's log handler setting is respected

* Add unit tests

* Fix legacy logger unit tests

* Update docs

* Regenerate docs manifest file (required by GitHub CI)

---------

Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
2024-02-28 12:31:31 +01:00
Brent MacKinnon 4f24fdcabb
Update logging.md (#44908)
* Update logging.md

* Add changelog file

* Update docs manifest file

---------

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2024-02-22 23:30:08 +00:00
Jacklyn Biggin 1327310a01
Fix encoding issue with quotes in docs (#44899)
* Fix encoding issue with quotes in docs

* Update docs manifest
2024-02-22 19:02:15 +00:00
Corey McKrill 53a5a11c6a
Docs: Update logging doc with 8.6 changes (#44336)
Update logging doc with 8.6 changes
2024-02-20 23:37:29 +00:00
James Kemp 113a7caa7d
Update check-if-woo-is-active.md (#44306)
* Update check-if-woo-is-active.md

Added more reliable methods to check if WooCommerce is active

* Update check-if-woo-is-active.md

Update code examples to use WooCommerce hooks.

* Update check-if-woo-is-active.md

Update wording in some sections

* Update docs/extension-development/check-if-woo-is-active.md

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>

* add docs manifest

---------

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-02-05 20:08:30 +00:00
Brent MacKinnon 16f2f9024a
Adjusting internal links within docs folder (#44288)
* Adjusting internal links within docs folder

* Update docs-manifest.json

* Fix linting + update manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-02-02 15:57:18 +00:00
Brent MacKinnon 2249b7a4c5
moving webhooks doc (#44098)
* moving webhooks doc

* Move webhooks doc to building a woo store

It's not really extension development related

* Update docs manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-02-01 19:56:34 +00:00
Brent MacKinnon 1bd5ab738a
updating link on wccli readme (#44100)
* updating link on wccli readme

* Fix links that were incorrect

* Update docs manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-02-01 19:10:39 +00:00
Jacklyn Biggin 402b9bf096
DOCS - Fix 404 link to logging page (#44275)
* Fix broken link to debugging doc

* Update docs manifest
2024-02-01 16:36:03 +00:00
Adrian Moldovan 62101246ca
[e2e tests] Add downloadable product test (#44112) 2024-01-31 17:51:14 +02:00
Brent MacKinnon ad7ae08d77
adjusting internal links for the docs front-end (#44101)
* adjusting a link for the docs front-end

* fixing some relative urls

* fixing relatieve links

* Updated manifest to include links

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-30 13:32:54 -05:00
Chi-Hsuan Huang 6832a4b249
Update onboarding task documentation & add back `example` command (#44026) 2024-01-30 12:05:46 +08:00
Brent MacKinnon 58088ed448
Simplify and atomize the Extension Developer Handbook (#43832)
* Simplifying and atomizing extension-developer-handbook

* Update logging.md

* Update extension-development-best-practices.md

* Update docs-manifest.json

* Revert "fixing a few broken image links"

This reverts commit 058c1fcd05993380efb0d6703f13192d1aad2a68.

* Update extension-development-best-practices.md

* Update docs-manifest file

* Adds most recent version of manifest after command run

* Removes old docs-manifest

* Renames new manifest

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
2024-01-24 19:54:10 -05:00
Brent MacKinnon 664140f134
Adjusting relative links in docs folder to avoid 404s on docs site (#44044)
* Adjusting relative links in docs folder to avoid 404s on docs site

Adjusting relative links in docs folder to avoid 404s on docs site

* Update docs-manifest.json

* Update docs manifest to reflect current trunk

* Fix invalid links

* Update manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-24 17:00:12 -05:00
Shani bf11df5e46
Atomizing and Improving WC-CLI documentation - Fixed PR (#44016)
* Atomizing and Improving WC-CLI documentation

* Adds new docs manifest, deletes previous manifest, renames new manifest

* Fix linting errors

* Fix additional linting errors

* Fix remaining linting issue

---------

Co-authored-by: Brent MacKinnon <brent.mackinnon@a8c.com>
Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-24 16:18:11 -05:00
Ron Rennick bbed678d13
add manifest check to pr markdown lint workflow (#43534)
* add manifest check to pr markdown lint workflow

* add json validation, storybook exception

* restore post tags to manifest

* add is-valid-json.js

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-24 12:39:22 -04:00
Brent MacKinnon e995ee387d
Atomizing and tagging Endpoint documentation (#43833)
* Atomizing and taggig Endpoint documentation

* Create manifest.json

* regenerating manifest

* fix manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-19 16:56:19 -05:00
Brent MacKinnon 5f6e18e922
Removing notices that are no-longer-relevant (#43766)
* Removing notices that are no-longer-relevant

Removing "WIP" and "developer-level" notices, and fixing a few titles

* add updated docs manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-17 18:17:14 -05:00
Jacklyn Biggin 097f72774a
Update docs manifest for Product Editor Guidelines (#43752)
update docs manfiest
2024-01-17 12:47:05 -05:00
Jacklyn Biggin 658518b447
Update docs manifest (#43718)
Update manifest + fix duplicated key
2024-01-17 09:36:31 -04:00
Ron Rennick 8a7ffac49b
add post tags support to docs manifest generator (#43575)
* Add tags to some readme files

* add post tags support

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-16 12:54:37 -05:00
Jacklyn Biggin 1d0a00741a
Fix all remaining docs encoding issues (#43683)
* Fix data management readme

* fix localization/translation category typo

* Fix remaining encoding issues

* update docs manifest
2024-01-15 21:52:17 -05:00
Jacklyn Biggin 9aafe545c5
Remove manually found unicode characters in docs (#43677)
* Remove manually found unicode characters

Non-regular spaces, quotes, dashes

* Fix linting

* fix more linting issues

* Fix more linting

* fix enable-hpos.md linting

* Update docs manifest
2024-01-15 19:42:12 -05:00
Jacklyn Biggin f29ad09154
Rename "Contributing" category + tag files (#43675)
* Tag contributor docs

* Update contributing category name

* Update manifest

* Fix unicode issues
2024-01-15 19:09:52 -05:00
Jacklyn Biggin 303760ba5b
Create docs contributor guide category + content (#43668)
* Create technical docs contribution guide

* Move style guide into docs contribution folder

* fix manifest instructions

* add docs manifest

* Fix linting issues

* fix more linting

* temp. remove inline links to fix linting
2024-01-15 15:07:04 -05:00
Jorge A. Torres 801cd03fa9
Make “Customising Checkout Fields” guide CRUD compatible (#43446)
* Make “Customising Checkout Fields” guide CRUD compatible

* Update docs manifest
2024-01-10 16:58:55 +00:00
Jacklyn Biggin 2113b3b5ae
Update docs manifest (#43434) 2024-01-10 10:07:07 -05:00
Ron Rennick 60b3aa8ed8
add support for custom document and category titles (#43340)
* add support for custom document and category titles

* remove the s in the source file instead of the manifest

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-05 18:20:31 -05:00
Ron Rennick ca5813d4f7
update external relative links to full URLs (#43231)
* update external relative links to full URLs

* update the docs manifest

* include /packages relative links

* add blob/trunk for direct access

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-04 17:07:57 -04:00
Ron Rennick c088ddec5d
exclude placeholder docs from docs manifest (#42876)
* exclude placeholder docs from docs manifest

* remove marketplace-guidelines from manifestignore

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-18 10:02:24 -04:00
Ron Rennick 2d5f3e2c2e update docs manifest, add default manifest ignore 2023-12-08 16:47:24 -04:00
Ron Rennick 2fdb240b11 update docs manifest 2023-12-06 12:04:31 -04:00
barryhughes fb4a48aeb8 Move docs-manifest.json to docs folder. 2023-10-02 09:21:21 -07:00