New API Docs website
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: New API Docs website
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?
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: New API Docs website
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.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?
Even https://factorio.com/support/faq#q-modding-support doesn't link to the api docs.
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.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.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: New API Docs website
Yup. Odd thing is, there’s a link for the API Docs on the API Docs site…. :/
- Attachments
-
- 8C985A59-D17C-4029-917C-C78C7E04D112.jpeg (50.2 KiB) Viewed 2523 times
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: New API Docs website
+1FuryoftheStars 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?
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: New API Docs website
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?
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
- Muppet9010
- Filter Inserter
- Posts: 279
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: New API Docs website
Edit: Moved to right thread
Last edited by Muppet9010 on Tue Jul 12, 2022 2:08 am, edited 2 times in total.
Re: New API Docs website
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?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.
Re: New API Docs website
This was fixed btw, the searchbox now shows on the index page on mobile, below the introductory overview.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?
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: New API Docs website
Confirmed. Thanks for this!!Therenas wrote: ↑Mon Jul 25, 2022 12:22 pmThis was fixed btw, the searchbox now shows on the index page on mobile, below the introductory overview.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?
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics