Jump to content

Documentaton links


AggrorJorn
 Share

Recommended Posts

I just realised a downside of the new API reference. I wanted to show a user a specific page (Camera:SetFOV)

  1. Go to Learn
  2. Click Api reference
  3. Go to camera
  4. Got to SetFOV

now how do I share this link on the forum? I would have to right click on SetFOV and select 'Copy link' which gives you the page link but it is without any headers: https://www.leadwerks.com/docs?page=API-Reference_Object_Entity_Camera_SetFOV

Link to comment
Share on other sites

One of the remaining tasks is to use a script to change the browser URL so it automatically updates to this:
https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_Camera_SetFOV

And then use an htaccess rewrite rule so that this will work:
.../learn/API-Reference/Object/Entity/Camera/SetFOV

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

2 minutes ago, gamecreator said:

Not to hijack Jorn's thread but can we also get it so we can highlight only parts of the example code.  I think Rick mentioned this too.  Right now it highlights all or nothing.  I know we can copy before we release the mouse button but it's a bit weird.

I disabled this now.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...