Page 4 of 4

Re: New API Docs website

Posted: Mon May 16, 2022 9:02 pm
by FuryoftheStars
Hey, is it possible to get the link to the API docs site put to the top of the page for each site like the rest?

Re: New API Docs website

Posted: Tue May 17, 2022 9:35 pm
by Qon
FuryoftheStars wrote:
Mon May 16, 2022 9:02 pm
Hey, is it possible to get the link to the API docs site put to the top of the page for each site like the rest?
The old mod portal layout had a link somewhere to the API docs. It's kind of weird I haven't been able to find the docs now from anywhere except by searching with an external web search and by searching for modding on the wiki. It should be easy to find, so I agree.

Even https://factorio.com/support/faq#q-modding-support doesn't link to the api docs.
How about modding?

Factorio has a strong support for modding. Check out our wiki or forums on how to get started with mods.

We also have an online and in-game integrated mod portal.
Like WTF!? It was there before I think. I go to the API often, but I have to keep a tab open for it because there are no links for it accessible anywhere.

Re: New API Docs website

Posted: Tue May 17, 2022 10:20 pm
by FuryoftheStars
Yup. Odd thing is, there’s a link for the API Docs on the API Docs site…. :/

Re: New API Docs website

Posted: Tue May 17, 2022 10:44 pm
by steinio
FuryoftheStars wrote:
Mon May 16, 2022 9:02 pm
Hey, is it possible to get the link to the API docs site put to the top of the page for each site like the rest?
+1

Re: New API Docs website

Posted: Sun Jun 12, 2022 3:43 pm
by FuryoftheStars
Something else, when exploring the API docs site from a phone, it’s difficult to find anything because there is no search field like on desktops. URL appears to be the same, and using the “Request desktop site” feature from my phone appears to make no difference, so I assume this is an automatic formatting thing. I completely understand it, but maybe if a separate page that’s only for searching could be made available?

Re: New API Docs website

Posted: Sun Jul 10, 2022 8:39 pm
by Muppet9010
Edit: Moved to right thread

Re: New API Docs website

Posted: Tue Jul 12, 2022 12:22 am
by curiosity
Muppet9010 wrote:
Sun Jul 10, 2022 8:39 pm
A lot of the events are missing an explanation for when the `player_index` will be empty. As for some it relates to how a script raised the event and what options it passed in (which may not always be apparent).
i.e. https://lua-api.factorio.com/latest/eve ... nstruction
on the `LuaEntity.order_deconstruction()` if the optional `player` field is left blank then no `player_index` appears in the event data. If the optional `player` field is populated or a player did the marking for deconstruction in-game then the the `player_index` event data field is populated.
Neither does the old design have that explanation. You may want to visit this thread, but, as far as I can see, the target of your complaint wasn't caused by the redesign. So why are you then posting it here?

Re: New API Docs website

Posted: Mon Jul 25, 2022 12:22 pm
by Therenas
FuryoftheStars wrote:
Sun Jun 12, 2022 3:43 pm
Something else, when exploring the API docs site from a phone, it’s difficult to find anything because there is no search field like on desktops. URL appears to be the same, and using the “Request desktop site” feature from my phone appears to make no difference, so I assume this is an automatic formatting thing. I completely understand it, but maybe if a separate page that’s only for searching could be made available?
This was fixed btw, the searchbox now shows on the index page on mobile, below the introductory overview.

Re: New API Docs website

Posted: Mon Jul 25, 2022 12:31 pm
by FuryoftheStars
Therenas wrote:
Mon Jul 25, 2022 12:22 pm
FuryoftheStars wrote:
Sun Jun 12, 2022 3:43 pm
Something else, when exploring the API docs site from a phone, it’s difficult to find anything because there is no search field like on desktops. URL appears to be the same, and using the “Request desktop site” feature from my phone appears to make no difference, so I assume this is an automatic formatting thing. I completely understand it, but maybe if a separate page that’s only for searching could be made available?
This was fixed btw, the searchbox now shows on the index page on mobile, below the introductory overview.
Confirmed. Thanks for this!!