diff --git a/.github/workflows/generate-system-calls-html.yml b/.github/workflows/generate-system-calls-html.yml index 2cb8132..86501bb 100644 --- a/.github/workflows/generate-system-calls-html.yml +++ b/.github/workflows/generate-system-calls-html.yml @@ -26,6 +26,7 @@ jobs: with: path: syscalls-table/ ref: master + submodules: true - name: Create Python virtualenv working-directory: syscalls-table/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fec5aa3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "templates/common"] + path = templates/common + url = https://github.com/hrw/tables-common.git + branch = main diff --git a/templates/common b/templates/common new file mode 160000 index 0000000..eeffc4e --- /dev/null +++ b/templates/common @@ -0,0 +1 @@ +Subproject commit eeffc4e095015d9885e8ce708529307f08ddeb45 diff --git a/templates/syscalls.html.j2 b/templates/syscalls.html.j2 index 9b7d640..6674f1a 100644 --- a/templates/syscalls.html.j2 +++ b/templates/syscalls.html.j2 @@ -22,78 +22,8 @@ - - - - - - - - - - - - - - - - - - - - - +{% include "common/datatables-js-css.inc.j2" %} +{% include "common/css.inc.j2" %}
@@ -132,33 +62,9 @@ table.syscalls tbody tr.odd td {- System calls table is maintained by Marcin Juszkiewicz — AArch64/Arm developer working at Red Hat as Linaro assignee. -
- -- Sources used to generate table are available in git repository at github. - Patches are always welcomed. -
-- If this table helped you in some project then please leave a comment in - issue on GitHub. -
- -Table generated on {{ generate_time }} UTC using data from {{ syscalls.linux_version }} kernel source.
+{% include "common/author-tables-help.inc.j2" %} -system call | @@ -183,4 +89,21 @@ table.syscalls tbody tr.odd td {
---|