From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SF3HEBRB6GbX8gAAe85BDQ:P1 (envelope-from ) for ; Mon, 16 Sep 2024 16:30:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SF3HEBRB6GbX8gAAe85BDQ (envelope-from ) for ; Mon, 16 Sep 2024 16:30:44 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=GtGHJQ3w; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=m96z0Zer; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1726497044; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0AHAk6UxnKYYcJZdVgRpNkV2YKXwRfRYUpyia35KlAs=; b=u3Zmcf3/XtV3A44wWDU6jCPJtB2it0DarJ5GeQZSHM0rPiGZzOB+gSV8f6O5FT64jr9Eww aacsRP+eVOWScXFHTNaEYpAqsmXFZjbJdu60y4lEMwDesa2z0/kP6kydxpg9cTf1mcVIzJ FX3G11IGXZycORWPm1dI4Lq4TO3aOlLDWVO5iA9DlV4AQgupSeCIk4jdG6ke96flGj5blO riWUgIUI8hSWx+0ubG/+0c2Um5oqvYZIuD0rC6rzZDDm2Oenp11mdecIupv04OeW/s1gT9 gjQxrNA0DW8fgUB6K4TcPGPdgnjPl12ryb0Ioeiq+dOi7SkfSMTOb1E/L2mp8A== ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1726497044; a=rsa-sha256; cv=none; b=FuyNjJMcTMzQ4P1FBnXQD3y+UC0yEiQQayI89hGoYftMC2oWNYx2vQCxoWillBsQXVHrSl p+JGlTZT7YykFai26zJJHux1j14bnw56w7OgnZX0GaEyK/KJYPBOCknUCpN6sbSCF7vYC8 gMih6nw0q8xsKe8vJ5CYHm4g44SUna4GIDFwJzta+CSrDPVQlJyNTk7P+yIHLUOV3V6ta2 U6UvjVXTDrCz5IwFrRgD07Dyw03b4kLdmPzhSUW8omdsnr5P+9ceX6MS1FD2lM/aPEZiTK /NlQw6mSMtBBqcYl89d9sc7QP0or0bu1z6uoz6jKKJfN4WEhy2XLCQVoV652Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=GtGHJQ3w; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=m96z0Zer; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2BFE3D573 for ; Mon, 16 Sep 2024 16:30:41 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=9WfeMdyyfFGNfGVK0N0Ecl8Pb6B6LnBRlgYS0J/H1Pg=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1726497034; v=1; b=GtGHJQ3waUviMo2wdJ8dV8yWKcnoINL/yfzdzdVrlSsgd1EmETilF6HXW4JSz5fbbAroaNsb d8PcFVqNcq0ohdLFI78XertaWfnvyluc3vJS73V2Rrt/ECFqHK7In5UTBRQZ9UTLlbQ/uzo+ZRO 6WUBUjhHhzI51rGXtVJALCbvTdwo1hGT6SwfDQhtV0AiMVjYfbwXFnjCiaC15GnU7ejCwMwiRpU bLVyIBxm0TGvXA9yTApsBi51qzETFnSwXSaGVr8bHfiFn7CWACCDsLXHFlagG0YomAggoa8R/9x GDSelncRAGYLFjJ44PBl4ryIQXDjn499vurq1LYi14Vmw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id DFB1520286 for ; Mon, 16 Sep 2024 14:30:34 +0000 (UTC) Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) by mail-a.sr.ht (Postfix) with ESMTPS id 27D6120270 for <~johnnyrichard/olang-devel@lists.sr.ht>; Mon, 16 Sep 2024 14:30:34 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1726497033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0AHAk6UxnKYYcJZdVgRpNkV2YKXwRfRYUpyia35KlAs=; b=m96z0ZericLD9R9W7R0Mj/1ENYOW2cpOJ8NKuWwHEKWnwNMKTShSkqs4fjxk6aTZh8rRsm JoVEqIz4xwQSXagu0OGK8hayVjkK3HmDAQa7R2w1HLtY40eKRaqETk1rOTmbVSdi3Ju6VJ /pKS/v4aEZfY1GM/jGEIVXJDyUWwc6FaYOCV7IfVaiyfTocGycKucceXZxdJCw6Cx5v06B wv4jQTV05WjgZyPFB53xxTQprvSVdtNR7+r6Dozta0Qy73OyZsWpbnYPwgxIU1iP4PCFbO 8gRexi1rHrCCm0vHQn7je6FEWxTPkt2uhEcUwHZ5gF3LvusEFDVMzw5i7ebGmA== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1 2/3] docs: stop using pandoc to generate page on website Date: Mon, 16 Sep 2024 18:29:13 +0200 Message-ID: <20240916163004.43389-3-johnny@johnnyrichard.com> In-Reply-To: <20240916163004.43389-1-johnny@johnnyrichard.com> References: <20240916163004.43389-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Sourcehut-Patchset-Status: UNKNOWN List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.36 X-Spam-Score: -0.36 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 2BFE3D573 X-TUID: MSCbs9+vCKMW The only page being generated with pandoc is the index, since we are not using pandoc to generate any other pages we can drop the dependency. Signed-off-by: Johnny Richard --- docs/Makefile | 16 ++++--------- docs/index.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++ docs/index.md | 20 ---------------- docs/template.html | 30 ------------------------ 4 files changed, 62 insertions(+), 61 deletions(-) create mode 100644 docs/index.html delete mode 100644 docs/index.md delete mode 100644 docs/template.html diff --git a/docs/Makefile b/docs/Makefile index ae5e546..3d01e0f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,17 +1,14 @@ PANDOC := pandoc -INDEX := index.md +INDEX := index.html BUILD_DIR := build SITE_DIR := $(BUILD_DIR)/site TARGET := $(SITE_DIR)/index.html DIST_FILE := site.tar.gz STYLE := style.css -PAGES_DIR := pages MANPAGES := $(BUILD_DIR)/man -PAGES := $(wildcard $(PAGES_DIR)/*.md) -HTML_PAGES := $(patsubst $(PAGES_DIR)/%.md, $(SITE_DIR)/$(PAGES_DIR)/%.html, $(PAGES)) .PHONY: all -all: $(BUILD_DIR) $(STYLE) $(TARGET) $(PAGES) manpages manual +all: $(BUILD_DIR) $(STYLE) $(TARGET) manpages manual .PHONY: clean clean: @@ -35,12 +32,12 @@ $(MANPAGES)/%.1: manpages/%.md $(DIST_FILE): all tar -czf $(DIST_FILE) -C $(SITE_DIR) . -$(TARGET): $(HTML_PAGES) - $(PANDOC) -s --template template.html -f markdown -t html $(INDEX) > $(TARGET) +$(TARGET): index.html + @cp $(INDEX) $(TARGET) $(BUILD_DIR): @mkdir -p $@ - @mkdir -p $(SITE_DIR)/$(PAGES_DIR) + @mkdir -p $(SITE_DIR) @mkdir -p $(MANPAGES) $(STYLE): $(BUILD_DIR) @@ -50,6 +47,3 @@ $(SITE_DIR)/manual/index.html: manual/*.texi make -C manual rm -rf $(SITE_DIR)/manual mv manual/html $(SITE_DIR)/manual - -$(SITE_DIR)/$(PAGES_DIR)/%.html: $(PAGES_DIR)/%.md - $(PANDOC) -s --template template.html -f markdown -t html --toc $< > $@ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..bda4ddc --- /dev/null +++ b/docs/index.html @@ -0,0 +1,57 @@ + + + + + + olang + + + +
+

olang | O Programming Language

+ +
+
+

+ The O language is a system programming language crafted to be remarkably + simple and flexible. It stands not as a replacement for C, but rather as + a complementary counterpart, as both can coexist within the same source + code. O language boasts minimal abstraction, ensuring seamless + integration with C and almost predictable machine code. +

+ +

+ olang is a deterministic system language that follows tree principles: +

+ +
    +
  • + fights complexity + by providing a simple syntax with a low level of abstraction +
  • +
  • + doesn't babysit programmers + it gives you the freedom of shooting your own foot +
  • +
  • + aims easy maintainability + by providing a syntax with a low refactoring overhead. +
  • +
+ +

Notice

+ +

+ This software is unfinished and not production ready. +

+
+
+ © 2024 olang maintainers +
+ + diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 13aab32..0000000 --- a/docs/index.md +++ /dev/null @@ -1,20 +0,0 @@ -% Introduction - -The O language is a system programming language crafted to be remarkably simple -and flexible. It stands not as a replacement for C, but rather as a -complementary counterpart, as both can coexist within the same source code. O -language boasts minimal abstraction, ensuring seamless integration with C and -almost predictable machine code. - -olang is a deterministic system language that follows tree principles: - -- **fights complexity** by providing a simple syntax with a low level of - abstraction. -- **doesn't babysit programmers**, it gives you the freedom of shooting your - own foot. -- **aims easy maintainability** by providing a syntax with a low refactoring - overhead. - -## Notice - -This software is unfinished and not production ready. diff --git a/docs/template.html b/docs/template.html deleted file mode 100644 index c39ca05..0000000 --- a/docs/template.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - $title$ | olang - - - -
-

olang | O Programming Language

- -
-
-

$title$

- $toc$ - - $body$ -
- - - -- 2.46.0