Skip to content

Commit

Permalink
replace old webdsl.org references with correct new references where p…
Browse files Browse the repository at this point in the history
…ossible
  • Loading branch information
maxdekrieger committed Nov 22, 2023
1 parent 8a8b2b6 commit 507cd40
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
[![Docs](https://img.shields.io/badge/docs-latest-brightgreen)](https://webdsl.org/)
[![GitHub](https://img.shields.io/github/license/webdsl/webdsl-docs)](https://github.com/webdsl/webdsl-docs/blob/main/LICENSE)

This is the repository for the new [WebDSL](https://webdsl.org/) documentation.
This is the repository for the [WebDSL](https://webdsl.org) documentation.
This documentation uses [MkDocs Material][1].

The result is currently available at https://webdsl.github.io/webdsl-docs/.
The result is currently available at https://webdsl.org.

To build the pages and see edits live using Docker:

Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/install-eclipse-plugin-manually.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Perform a manual installation of the WebDSL plugin in [Eclipse 3.5][1] or newer.
2. In the _Work with:_ text area, type:

```
https://webdsl.org/update
https://update.webdsl.org/update
```

3. Uncheck _Group items by category_ to make the plugin visible.
Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We provide an [Eclipse][1] bundle in which you can create and edit WebDSL applic
Perform a manual installation of the WebDSL plugin in [Eclipse 3.5][1] or newer through the update site:

```
https://webdsl.org/update
https://update.webdsl.org/update
```

[Installation instructions](../install-eclipse-plugin-manually/).
Expand Down
16 changes: 2 additions & 14 deletions docs/reference/command-line-use.md → docs/reference/cli-usage.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
# Command Line Use
# CLI Usage

WebDSL can be invoked from the command-line by using the compiler supplied with the plugin ([https://webdsl.org/selectpage/Download/WebDSLplugin](https://webdsl.org/selectpage/Download/WebDSLplugin), recommended) or downloading the stand-alone compiler: [https://webdsl.org/selectpage/Download/WebDSLJava](https://webdsl.org/selectpage/Download/WebDSLJava).

Running plugin compiler on command-line
Running an application using the command-line interface
----

Mac/Linux users can start WebDSL using the `webdsl` script at:

eclipse/plugins/webdsl.editor_[version]/webdsl-template/webdsl

and Windows users can start WebDSL using the `webdsl.bat` script at:

eclipse/plugins/webdsl.editor_[version]/webdsl-template/webdsl.bat

Where [version] is your installed version of the plugin. For convenience, you can add the directory to your path or make an alias for the script.

The quickest way to get an application running is to execute:

webdsl run appname
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Below are larger examples of WebDSL applications than those found on the other m

## Example Native Interface

A simple application that shows the public timeline of Twitter using [Twitter4J](http://twitter4j.org/). Example project code is available [here](https://webdsl.org/twitterapp.zip)
A simple application that shows the public timeline of Twitter using [Twitter4J](http://twitter4j.org/). Example project code is available [here](https://update.webdsl.org/twitterapp.zip)


Screenshot of result:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/native-java-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ If you want an instance of your defined native java class to be passed as page (

_note_: The keys in the returned Map may only consist of character classes [A-Z][a-z][0-9], values may hold any value as they get filtered. On deserialization, the static `fromParamMap` method is invoked and its result is cast to the type as defined in the page/java template definition.

Examples can be [found](https://webdsl.org/reposearch/doSearch/sl=100000&ns=WebDSL&op=AND&q=fromParamMap+toParamMap&lim=5&dff=repoPath%2CfileExt%2C&type=Entry&dfp=200%2C120%2C&pq=fromParamMap+toParamMap&allowlcn=false&/WebDSL/1) (notice the link ;)) in WebDSL's source code itself.
Examples can be [found](https://codefinder.org/doSearch/sl=100000&ns=WebDSL&op=AND&q=fromParamMap+toParamMap&lim=5&dff=repoPath%2CfileExt%2C&type=Entry&dfp=200%2C120%2C&pq=fromParamMap+toParamMap&allowlcn=false&/WebDSL/1) (notice the link ;)) in WebDSL's source code itself.
2 changes: 1 addition & 1 deletion docs/reference/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Displays an image. Images placed in an "images" folder in the root directory of
Example:

page root(){
image("https://webdsl.org/webdslorg/images/WebDSL-small.png")
image("https://update.webdsl.org/images/WebDSL-small.png")
image("/images/WebDSL-small.png")
}

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ before 1.3.0:

Note: Don't start your application during reindexing, it will crash because it can't initialize the directory provider. So reindexing should be done before starting or when already running your application.

A demo of the search functionality can be seen on [Reposearch](http://www.webdsl.org/reposearch).
A demo of the search functionality can be seen on [Reposearch](http://www.codefinder.org).
4 changes: 2 additions & 2 deletions docs/reference/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Represents an ordered list of items of a certain type. Example:

var l : [Int] := [1, 2, 3, 4];

Sorted output of lists can be created using the `for` loop filter in [templates](https://webdsl.org/selectpage/Manual/Pages#ForLoopTemplate) or [actions](https://webdsl.org/selectpage/Manual/ActionCode#ForLoopAction):
Sorted output of lists can be created using the `for` loop filter in [templates](./pages.md#for-loop) or [actions](./action-code.md#for-loop):

for(u:User in [u1,u2,u3] order by u.name desc){
output(u)
Expand Down Expand Up @@ -290,7 +290,7 @@ Represents an unordered collection of unique items of a certain type. Example

var s : Set<Int> := {1, 2, 3, 4};

Sorted output of sets can be created using the `for` loop filter in [templates](https://webdsl.org/selectpage/Manual/Pages#ForLoopTemplate) or [actions](https://webdsl.org/selectpage/Manual/ActionCode#ForLoopAction).
Sorted output of sets can be created using the `for` loop filter in [templates](./pages.md#for-loop) or [actions](./action-code.md#for-loop).

for(u:User in [u1,u2,u3] order by u.name desc){
output(u)
Expand Down
4 changes: 2 additions & 2 deletions docs/releases/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Find older releases [on the buildfarm](https://buildfarm.metaborg.org/view/WebDS
Or install the WebDSL plugin in an existing Eclipse 3.5+ installation using this update site:

```
https://webdsl.org/update
https://update.webdsl.org/update
```

[Installation instructions](../howtos/install-eclipse-plugin-manually.md).
Expand All @@ -27,4 +27,4 @@ Download the latest release of the WebDSL CLI:

[Installation instructions](../howtos/install-cli.md).

Find older releases [on the buildfarm](https://buildfarm.metaborg.org/job/webdsl-compiler/lastSuccessfulBuild/artifact/webdsl.zip).
Find older releases [on the buildfarm](https://buildfarm.metaborg.org/job/webdsl-compiler/lastSuccessfulBuild/artifact/webdsl.zip).
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ nav:
- Reference:
- reference/index.md
- reference/using-the-editor.md
- reference/command-line-use.md
- reference/cli-usage.md
- reference/webdsl-apps.md
- reference/app-configuration.md
- reference/production-server.md
Expand Down

0 comments on commit 507cd40

Please sign in to comment.