short url way to actual api version of class?

Notice: This thread is very old.
chemix
Nette Core | 1310
+
0
-

Hi, is there any way how to create permanent, live and actual link? for example

api.nette.org/go/ArrayHash .. and this link will be live and actual forever :)

I'm writing article and I must use specific version, and i think it's not necessary.

Jan Tvrdík
Nette guru | 2595
+
+1
-

Not possible, because in the future versions the class may not exists at all. You can however use
api.nette.org/2/Nette.Utils.ArrayHash.html or
api.nette.org/2.2/Nette.Utils.ArrayHash.html instead of
api.nette.org/2.2/Nette.Utils.ArrayHash.html

chemix
Nette Core | 1310
+
0
-

this looks fine api.nette.org/2/Nette.Utils.ArrayHash.html …

but :) …

if in the future class not exist in last version of framework … just show page with links to older versions?

David Grudl
Nette Core | 8218
+
+2
-
- [[api:Nette\Application\UI\Presenter]]
- [[api:Nette\Application\UI\Presenter::run()]]
- [[api:Nette\Application\UI\Presenter::$onShutdown]]
- [[The Presenter |api:Nette\Application\UI\Presenter]]
chemix
Nette Core | 1310
+
0
-

but this works only on nette texy engine :( Do this please for “URL API”

https://go.nette.org/api:Nette\Application\UI\Presenter
https://go.nette.org/api:Nette\Application\UI\Presenter::run
https://go.nette.org/api:Nette\Application\UI\Presenter::$onShutdown

;-)

MartyIX
Member | 217
+
+1
-

@chemix: I believe that your readers would be grateful to know what version you used at the time of writing the article. If you try to write an article for current and future versions of Nette then you will most definitely fail..

esorimer
Member | 114
+
0
-

https://github.com/…ravidla.texy

refers to API 2.2.9 and no to 2.3.3. See

https://doc.nette.org/…s/validation

Why?