public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang 0/2] remove sphinx dependency
@ 2024-02-17 13:46 Carlos Maniero
  2024-02-17 13:46 ` [PATCH olang 1/2] Revert "docs: build: add deployment script" Carlos Maniero
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-02-17 13:46 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

We are looking for a simple solution for our docs. So that, we are going
to replace sphinx with pandoc.

Carlos Maniero (2):
  Revert "docs: build: add deployment script"
  Revert "docs: add sphinx documentation support"

 .build.yml     | 11 -----------
 .gitignore     |  1 -
 docs/Makefile  | 20 --------------------
 docs/conf.py   | 28 ----------------------------
 docs/index.rst | 13 -------------
 5 files changed, 73 deletions(-)
 delete mode 100644 docs/Makefile
 delete mode 100644 docs/conf.py
 delete mode 100644 docs/index.rst

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH olang 1/2] Revert "docs: build: add deployment script"
  2024-02-17 13:46 [PATCH olang 0/2] remove sphinx dependency Carlos Maniero
@ 2024-02-17 13:46 ` Carlos Maniero
  2024-02-17 13:46 ` [PATCH olang 2/2] Revert "docs: add sphinx documentation support" Carlos Maniero
  2024-02-17 16:06 ` [PATCH olang 0/2] remove sphinx dependency Johnny Richard
  2 siblings, 0 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-02-17 13:46 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

This reverts commit 9d0b52f4b172cb003b6013622ed0860375a85b13.
---
 .build.yml | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/.build.yml b/.build.yml
index 61de4ae..b38efb3 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,15 +1,10 @@
 image: archlinux
-oauth: pages.sr.ht/PAGES:RW
 packages:
   - gcc
   - make
-  - hut
   - clang
-  - python-sphinx
 sources:
   - https://git.sr.ht/~johnnyrichard/olang
-environment:
-  site: johnnyrichard.srht.site
 tasks:
   - lint: |
       cd olang
@@ -20,10 +15,4 @@ tasks:
   - check: |
       cd olang
       make check
-  - docs: |
-      cd olang/docs
-      make html
-      cd _build/html
-      tar -czvf ../docs.tar.gz .
-      hut pages publish -d $site ../docs.tar.gz
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH olang 2/2] Revert "docs: add sphinx documentation support"
  2024-02-17 13:46 [PATCH olang 0/2] remove sphinx dependency Carlos Maniero
  2024-02-17 13:46 ` [PATCH olang 1/2] Revert "docs: build: add deployment script" Carlos Maniero
@ 2024-02-17 13:46 ` Carlos Maniero
  2024-02-17 13:51   ` [olang/patches/.build.yml] build failed builds.sr.ht
  2024-02-17 16:06 ` [PATCH olang 0/2] remove sphinx dependency Johnny Richard
  2 siblings, 1 reply; 5+ messages in thread
From: Carlos Maniero @ 2024-02-17 13:46 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

This reverts commit 0a48a94d9ade6ac92bbc42c3e7681f326d4f8d70.
---
 .gitignore     |  1 -
 docs/Makefile  | 20 --------------------
 docs/conf.py   | 28 ----------------------------
 docs/index.rst | 13 -------------
 4 files changed, 62 deletions(-)
 delete mode 100644 docs/Makefile
 delete mode 100644 docs/conf.py
 delete mode 100644 docs/index.rst

diff --git a/.gitignore b/.gitignore
index 77f3000..b140d08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
 0c
 build
 *.o
-docs/_build
diff --git a/docs/Makefile b/docs/Makefile
deleted file mode 100644
index d4bb2cb..0000000
--- a/docs/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Minimal makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line, and also
-# from the environment for the first two.
-SPHINXOPTS    ?=
-SPHINXBUILD   ?= sphinx-build
-SOURCEDIR     = .
-BUILDDIR      = _build
-
-# Put it first so that "make" without argument is like "make help".
-help:
-	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-
-.PHONY: help Makefile
-
-# Catch-all target: route all unknown targets to Sphinx using the new
-# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
-	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/docs/conf.py b/docs/conf.py
deleted file mode 100644
index ee7421a..0000000
--- a/docs/conf.py
+++ /dev/null
@@ -1,28 +0,0 @@
-# Configuration file for the Sphinx documentation builder.
-#
-# For the full list of built-in configuration values, see the documentation:
-# https://www.sphinx-doc.org/en/master/usage/configuration.html
-
-# -- Project information -----------------------------------------------------
-# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
-
-project = 'olang'
-copyright = '2024, olang maintainers'
-author = 'olang maintainers'
-release = '0.0.1'
-
-# -- General configuration ---------------------------------------------------
-# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
-
-extensions = []
-
-templates_path = ['_templates']
-exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
-
-
-
-# -- Options for HTML output -------------------------------------------------
-# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
-
-html_theme = 'alabaster'
-html_static_path = ['_static']
diff --git a/docs/index.rst b/docs/index.rst
deleted file mode 100644
index 4ad0971..0000000
--- a/docs/index.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-Welcome to olang's documentation!
-=================================
-
-.. toctree::
-   :caption: Contents:
-
-
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`search`
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [olang/patches/.build.yml] build failed
  2024-02-17 13:46 ` [PATCH olang 2/2] Revert "docs: add sphinx documentation support" Carlos Maniero
@ 2024-02-17 13:51   ` builds.sr.ht
  0 siblings, 0 replies; 5+ messages in thread
From: builds.sr.ht @ 2024-02-17 13:51 UTC (permalink / raw)
  To: Carlos Maniero; +Cc: ~johnnyrichard/olang-devel

olang/patches/.build.yml: FAILED in 18s

[remove sphinx dependency][0] from [Carlos Maniero][1]

[0]: https://lists.sr.ht/~johnnyrichard/olang-devel/patches/49598
[1]: mailto:carlos@maniero.me

✗ #1151949 FAILED olang/patches/.build.yml https://builds.sr.ht/~johnnyrichard/job/1151949

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH olang 0/2] remove sphinx dependency
  2024-02-17 13:46 [PATCH olang 0/2] remove sphinx dependency Carlos Maniero
  2024-02-17 13:46 ` [PATCH olang 1/2] Revert "docs: build: add deployment script" Carlos Maniero
  2024-02-17 13:46 ` [PATCH olang 2/2] Revert "docs: add sphinx documentation support" Carlos Maniero
@ 2024-02-17 16:06 ` Johnny Richard
  2 siblings, 0 replies; 5+ messages in thread
From: Johnny Richard @ 2024-02-17 16:06 UTC (permalink / raw)
  To: Carlos Maniero; +Cc: ~johnnyrichard/olang-devel

 Applied, thanks!

To git.sr.ht:~johnnyrichard/olang
   9d0b52f..32af975  main -> main

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-17 15:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 13:46 [PATCH olang 0/2] remove sphinx dependency Carlos Maniero
2024-02-17 13:46 ` [PATCH olang 1/2] Revert "docs: build: add deployment script" Carlos Maniero
2024-02-17 13:46 ` [PATCH olang 2/2] Revert "docs: add sphinx documentation support" Carlos Maniero
2024-02-17 13:51   ` [olang/patches/.build.yml] build failed builds.sr.ht
2024-02-17 16:06 ` [PATCH olang 0/2] remove sphinx dependency Johnny Richard

Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox