From ab913e5bc57c2a57b590f6d568abc00e0efbc00c Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 15 Mar 2021 21:56:18 -0700 Subject: [PATCH] Update compatibility page This brings the page in line with other pages by adding TOC, removing duplicate header and moving it to the correct location in the tree. --- docs/{ => _pages}/compatibility.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename docs/{ => _pages}/compatibility.md (99%) diff --git a/docs/compatibility.md b/docs/_pages/compatibility.md similarity index 99% rename from docs/compatibility.md rename to docs/_pages/compatibility.md index 7ecd2c06..8482a7b0 100644 --- a/docs/compatibility.md +++ b/docs/_pages/compatibility.md @@ -1,4 +1,8 @@ -# Compatibility +--- +permalink: /compatibility +title: Compatibility +toc: true +--- Luau is based on Lua 5.1, and as such incorporates all features of 5.1, except for ones that had to be taken out due to sandboxing limitations. Because of backwards compatibility constraints, we don't remove features deprecated by later versions (e.g. we still support `getfenv`/`setfenv`). Later Lua versions introduce new features into the language and new libraries/functions.