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

FIx links to doc.nette.org in README #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svenluijten
Copy link

  • bug fix (docs)
  • BC break? no

This PR fixes 2 links in this repository's README that were 404'ing. Somewhere along the way, the site was updated to include a locale in the path, but that change was never reflected in any of the links.

Preferably this would be fixed by adding a server-side redirect on the docs website (redirecting docs.nette.org/$1 to docs.nette.org/en/$1), but I'll leave the decision to do that up to you.

Or: why I dislike external sites to host essential documentation 💅
@@ -127,7 +127,7 @@ Expect::null()
Expect::array($default = [])
```

And then all types [supported by the Validators](https://doc.nette.org/validators#toc-validation-rules) via `Expect::type('scalar')` or abbreviated `Expect::scalar()`. Also class or interface names are accepted, e.g. `Expect::type('AddressEntity')`.
And then all types [supported by the Validators](https://doc.nette.org/validators#toc-expected-types) via `Expect::type('scalar')` or abbreviated `Expect::scalar()`. Also class or interface names are accepted, e.g. `Expect::type('AddressEntity')`.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Validation rules heading doesn't exist on the docs site, so I figured I'd link to the closest thing on the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant