remixlabs / docs-public

Public-facing documentation wiki
0 stars 0 forks source link

Links wrong in wiki entry of mix-syntax #1

Open camlfriend opened 1 month ago

camlfriend commented 1 month ago

In https://github.com/remixlabs/docs-public/wiki/mix-syntax

some Links are wrong. For those wrong links it looks as if the documents don't exist (create. new page). But when the links are corrected, the documents are available.

Example:

wrong: https://github.com/remixlabs/docs-public/wiki/directives

correct: https://github.com/remixlabs/docs-public/wiki/mix-directives

camlfriend commented 1 month ago

More examples following:

Link zur Directives-Liste ist falsch: falsch: https://github.com/remixlabs/docs-public/wiki/directives richtig: https://github.com/remixlabs/docs-public/wiki/mix-directives

"Also see: Modules" - Link falsch falsch: https://github.com/remixlabs/docs-public/wiki/modules richtig: ?

"See also: Cells" - Link falsch falsch: https://github.com/remixlabs/docs-public/wiki/cells richtig: https://github.com/remixlabs/docs-public/wiki/mix-cells

"Cells can be declared before use (also see Declararing cells ahead of definition):" - Link falsch falsch: https://github.com/remixlabs/docs-public/wiki/cells#declaring-cells-ahead-of-definition richtig: https://github.com/remixlabs/docs-public/wiki/mix-cells#declaring-cells-ahead-of-definition

"Also see the whole page Links." - Link falsch falsch: https://github.com/remixlabs/docs-public/wiki/links richtig: https://github.com/remixlabs/docs-public/wiki/mix-links

Special notations "(see: Get the previous value of a cell)" falsch: https://github.com/remixlabs/docs-public/wiki/#get-the-previous-value-of-a-cell richtig: ? - Dokument scheint garnicht zu existieren

"(see: Creating link values)" falsch: https://github.com/remixlabs/docs-public/wiki/links#creating-link-values richtig: ?

"See reflect.spreadsheet for" falsch: https://github.com/remixlabs/docs-public/wiki/stdlib-reflect#reflectspreadsheet richtig: https://github.com/remixlabs/docs-public/wiki/mix-stdlib-reflect#reflectspreadsheet

"(see Age and version)" falsch: https://github.com/remixlabs/docs-public/wiki/cells#age-and-version richtig: https://github.com/remixlabs/docs-public/wiki/mix-cells#age-and-version

... viele weitere, immer nach dem selben Muster: "mix-" fehlt im Link

camlfriend commented 1 month ago

More examples:

Statements: "First, the definition a def or cell can start in statement mode." -> "First, the definition with/via def or cell can start in statement mode."

"This construction works also in statements (see Let alias)." falsch: https://github.com/remixlabs/docs-public/wiki/#let-alias-since-pr-599 richtig: ? -> Im Abschnitt "Expressions" ist "let alias (since PR 599)" zu finden -> Es wird ### let alias (since PR 599) benutzt, aber die Referenz hat '-since-pr-599' mit drin: This construction works also in statements (see Let alias).

"A let binding is immutable whereas a var binding is assignable. (Note that let and var are also permitted in expressions.)"

Bei Loops geht das aber dann doch!

"Since PR-1300, the variable can also be introduced with let."

Assignments "There are also structured assignments"

camlfriend commented 1 month ago

Even more examples:

Expressions "See: Undefined" falsch: https://github.com/remixlabs/docs-public/wiki/undefined richtig: https://github.com/remixlabs/docs-public/wiki/mix-undefined

"Constructing and deconstructing values"
  falsch:  https://github.com/remixlabs/docs-public/wiki/stdlib-array
  richtig: https://github.com/remixlabs/docs-public/wiki/mix-stdlib-array

Maps:
  "let a = 1; {a, b:2}              // instead of {a:a,b:2}" ?? a:a geht?

"More about maps: Standard library - map"
  falsch:  https://github.com/remixlabs/docs-public/wiki/stdlib-map
  richtig: https://github.com/remixlabs/docs-public/wiki/mix-stdlib-map

Operators
  "Also see: Stdlib"
    falsch:  https://github.com/remixlabs/docs-public/wiki/stdlib
    richtig: https://github.com/remixlabs/docs-public/wiki/mix-stdlib

  "Also see the noDefault and withDefault functions"
    jeweils fehlt in den Links wieder "mix-"

Patterns

  Typo:
    falsch:  "A mattern matching needs"
    richtig: "A pattern matching needs"

Types
  "See Type system for a more in-depth description"
    falsch:  https://github.com/remixlabs/docs-public/wiki/type-system
    richtig: https://github.com/remixlabs/docs-public/wiki/mix-type-system

  "Also see Case types"
    falsch:  https://github.com/remixlabs/docs-public/wiki/case-types
    richtig: https://github.com/remixlabs/docs-public/wiki/mix-case-types
cvermilion commented 1 month ago

Ah, yes, this is from my port of the wiki pages from the protoquery repo wiki to the more general one here. I can fire up a vim macro for this, I guess.