Skip to content

Commit

Permalink
Merge pull request #3075 from onflow/josh/fix-docs-redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Feb 6, 2024
2 parents a1ce15d + 5adf929 commit 6ca961b
Show file tree
Hide file tree
Showing 56 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Check out the [Cadence Docs](https://docs.onflow.org/cadence/language/).

If you would like to contribute to Cadence, have a look at the [contributing guide](https://github.com/onflow/cadence/blob/master/CONTRIBUTING.md).

Development documentation can be found in the [/docs directory](https://github.com/onflow/flow/tree/master/docs).
Development documentation can be found in the [`/docs` directory](https://github.com/onflow/cadence/tree/master/docs).
For example, it contains the source for the language reference.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This directory documention for contributors to/developers of Cadence.

If you are looking for documentation for Cadence, it can be found at https://developers.flow.com/cadence.
If you are looking for documentation for Cadence, it can be found at https://cadence-lang.org/.

The source for the user documentation is at https://github.com/onflow/docs/tree/main/docs/cadence, not in this repository.
The source for the user documentation is at https://github.com/onflow/cadence-lang.org, not in this repository.
2 changes: 1 addition & 1 deletion docs/anti-patterns.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/anti-patterns.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/anti-patterns.mdx
2 changes: 1 addition & 1 deletion docs/contract-upgrades.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/contract-upgrades.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/contract-upgrades.mdx
2 changes: 1 addition & 1 deletion docs/design-patterns.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/design-patterns.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/design-patterns.mdx
2 changes: 1 addition & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/intro.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/intro.md
2 changes: 1 addition & 1 deletion docs/json-cadence-spec.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/json-cadence-spec.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/json-cadence-spec.md
2 changes: 1 addition & 1 deletion docs/language/access-control.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/access-control.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/access-control.md
2 changes: 1 addition & 1 deletion docs/language/accounts.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/accounts.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/accounts.mdx
2 changes: 1 addition & 1 deletion docs/language/attachments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/attachments.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/attachments.mdx
2 changes: 1 addition & 1 deletion docs/language/built-in-functions.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/built-in-functions.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/built-in-functions.mdx
2 changes: 1 addition & 1 deletion docs/language/capability-based-access-control.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/capability-based-access-control.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/capabilities.md
2 changes: 1 addition & 1 deletion docs/language/composite-types.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/composite-types.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/composite-types.mdx
2 changes: 1 addition & 1 deletion docs/language/constants-and-variables.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/constants-and-variables.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/constants-and-variables.md
2 changes: 1 addition & 1 deletion docs/language/contract-updatability.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/contract-updatability.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/contract-updatability.md
2 changes: 1 addition & 1 deletion docs/language/contracts.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/contracts.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/contracts.mdx
2 changes: 1 addition & 1 deletion docs/language/control-flow.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/control-flow.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/control-flow.md
2 changes: 1 addition & 1 deletion docs/language/core-events.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/core-events.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/core-events.md
2 changes: 1 addition & 1 deletion docs/language/crypto.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/crypto.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/crypto.mdx
2 changes: 1 addition & 1 deletion docs/language/enumerations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/enumerations.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/enumerations.md
2 changes: 1 addition & 1 deletion docs/language/environment-information.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/environment-information.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/environment-information.md
2 changes: 1 addition & 1 deletion docs/language/events.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/events.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/events.md
2 changes: 1 addition & 1 deletion docs/language/functions.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/functions.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/functions.mdx
2 changes: 1 addition & 1 deletion docs/language/glossary.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/glossary.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/glossary.mdx
2 changes: 1 addition & 1 deletion docs/language/imports.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/imports.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/imports.mdx
2 changes: 1 addition & 1 deletion docs/language/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/index.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/index.md
2 changes: 1 addition & 1 deletion docs/language/interfaces.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/interfaces.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/interfaces.mdx
2 changes: 1 addition & 1 deletion docs/language/operators.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/operators.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/operators.md
2 changes: 1 addition & 1 deletion docs/language/references.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/references.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/references.md
2 changes: 1 addition & 1 deletion docs/language/resources.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/resources.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/resources.mdx
2 changes: 1 addition & 1 deletion docs/language/restricted-types.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/restricted-types.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/restricted-types.md
2 changes: 1 addition & 1 deletion docs/language/run-time-types.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/run-time-types.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/run-time-types.md
2 changes: 1 addition & 1 deletion docs/language/scope.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/scope.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/scope.md
2 changes: 1 addition & 1 deletion docs/language/syntax.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/syntax.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/syntax.md
2 changes: 1 addition & 1 deletion docs/language/transactions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/transactions.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/transactions.md
2 changes: 1 addition & 1 deletion docs/language/type-annotations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/type-annotations.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/type-annotations.md
2 changes: 1 addition & 1 deletion docs/language/type-hierarchy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/type-hierarchy.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/type-hierarchy.md
2 changes: 1 addition & 1 deletion docs/language/type-inference.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/type-inference.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/type-inference.md
2 changes: 1 addition & 1 deletion docs/language/type-safety.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/type-safety.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/type-safety.md
2 changes: 1 addition & 1 deletion docs/language/values-and-types.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/language/values-and-types.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/language/values-and-types.mdx
2 changes: 1 addition & 1 deletion docs/measuring-time.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/measuring-time.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/measuring-time.mdx
2 changes: 1 addition & 1 deletion docs/security-best-practices.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/security-best-practices.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/security-best-practices.mdx
2 changes: 1 addition & 1 deletion docs/solidity-to-cadence.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/solidity-to-cadence.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/solidity-to-cadence.mdx
2 changes: 1 addition & 1 deletion docs/testing-framework.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/testing-framework.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/testing-framework.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/01-first-steps.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/01-first-steps.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/01-first-steps.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/02-hello-world.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/02-hello-world.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/02-hello-world.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/03-resources.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/03-resources.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/03-resources.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/04-capabilities.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/04-capabilities.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/04-capabilities.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/05-non-fungible-tokens-1.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/05-non-fungible-tokens-1.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/05-non-fungible-tokens-1.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/05-non-fungible-tokens-2.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/05-non-fungible-tokens-2.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/05-non-fungible-tokens-2.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/06-fungible-tokens.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/06-fungible-tokens.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/06-fungible-tokens.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/07-marketplace-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/07-marketplace-setup.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/07-marketplace-setup.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/08-marketplace-compose.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/08-marketplace-compose.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/08-marketplace-compose.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/09-voting.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/09-voting.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/09-voting.mdx
2 changes: 1 addition & 1 deletion docs/tutorial/10-resources-compose.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/tutorial/10-resources-compose.mdx
https://github.com/onflow/cadence-lang.org/tree/main/docs/tutorial/10-resources-compose.mdx
2 changes: 1 addition & 1 deletion docs/why.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This document has been moved to a new location:

https://github.com/onflow/docs/tree/main/docs/cadence/why.md
https://github.com/onflow/cadence-lang.org/tree/main/docs/why.md

0 comments on commit 6ca961b

Please sign in to comment.