HEllo... My journey back into programming

Hello!

Maybe it is of interest…

I used to do HTML websites when notepad and FTP were all the rage, and now I am trying to get back into programming.

My original idea was to start with RUBY on RAILS but document everything I need to learn along the way, and to make those documents available somewhere…

I already posted two of them:

  1. Longform, step-by-step: How I installed Ruby on Rails in Fedora workstation
  2. Longform Part II. Fedora Silverblue, RoR in a container

I have a setup consisting of an old thinkpad with fedora silverblue as a daily driver, and a imac2011 as a staging with fedora server (and web linux VM something…for production environment), and would love to keep all my findings documented and published… maybe as a Bi weekly or monthly column at Magazine.

I am not saying I am a pro… on the contrary, but celebrating little successes Is the way to go for me, and what I love in Linux.

Please feel free to ping me if you want me as “regular” contributor.
Joao

Hi, we are working on an initiative to improve Fedora Docs and looking for contributors / authors for all sorts of topics. So I’m very interested, what docs you have in mind.

Your docs about your experiences with ROR would perfectly fit into Fedora QuickDocs. Maybe even you could add a description, how Ruby and ROR are organized and structured in Fedora. And your docs would be permanently available, much better than in after some time forgotten older Magazine articles. And you can update it when something new arrives and keep it informative.

And just in case you would like to package some ROR application, I would have some ideas, too (wit my Fedora Server hat on).

I would be delighted if we could come to an arrangement.

2 Likes

HI… sure…

My idea was to document everything, but more like a personal journey. Every time I try to do something in Linux, I am offered with a gazillion choices and learning journeys.

Next up would be GIT as a tool in Fedora Silverblue

  • Use this GIT with my Part II document…
  • Do some RoR documentation (basic level, MVC, Database scafolding, and looks using a front end framework ) while I develop my idea- Sharing my Github project in the meantime: A household cost sharing app… (Yes, I am an economist, married to another one, and we use excel for this)
  • Push it to my fedora server using containers (install and configure a server, Cockpit, SELINUX, containers)

Just have in mind that ALLL THIS IS NEW to me. :D:D:D… it might take a little time to do and document… so it is hard to “commit” to deadlines :D.

Also… “how Ruby and ROR are organized and structured in Fedora.”… they have a structure? I thought it was out of the box package management, without a structure or orga… like a “Mee too” as I never found any documentation specific for fedora…

By the way… ChatGPT has been my best friend… not Documentation.
Maybe we should be focusing on other “types” of documentation.

I agree completely with Peter here. Fedora Magazine is meant to be a place to promote FOSS software with quick and simple examples of the things it can do. The Fedora Docs site is a better place for a more detailed HowTo that might need updating from time to time. You can put content in both places, but if you do that I would recommend doing the more detailed Fedora Docs first and then just write a small demo of some sort for Fedora Magazine and then reference Fedora Docs as a place to get more detailed and more up-to-date information.

Thanks!

1 Like

Well, that was exactly my way to get engaged in Fedora again. From my work, we had a lot of notes and guides to manage our servers - since the end of Scientific Linux Fedora only - and I planned for a long time to put it on a dedicated website. But never managed to follow through. And 5 years ago there was an initiative to improve maintenance of Fedora Server. And I somehow got the idea to contribute our notes and guides to Fedora Server Documentation. That was the birth of the dedicated Fedora Server documentation.

I mean the development workflow as it is underlying the standard installation. Where is what stored, where are vendor-specific program parts located? I could contribute more specific questions on this. I need to look at my notes. If I remember correctly, some parts are preconfigured specifically to Fedora.

We have a Fedora AI policy now. In short, preliminary work by AI is accepted, but it must be explicitly indicated, and the result must be checked manually.

OK… then, moving to Fedora Docs… how can I?

Do I get a member card :smiley: ?

I can just “clone” the document repository and start typing? and commit content?

Can I start anywhere? who puts the content in the right places/menu entries?

Sorry… too many questions.

J

< venting >

Man… I don’t know who chose the tech stack the project is using for documentation… but what the heck :smiley:

Document producers at enterprise level are usualy business analysts like me, not developers

Using GIT is weird, gitlab and no github is weirder, but ok… but asciiDOC? it is not enough to force newcomers to learn how to GIT, and you force them to learn another markup language?
Who thought of this thing? people like me come from JIRA and Confluence, with typical markup…
and then a Containerized app just to publish in HTML form?
…Gods…

Not even Omarchy goes to this level of complexification… Reason to DHH who mentions we became “Merchants of Complexity” on IT.

</ Venting >

Will try to read the documentation for creating documents by this weekend, and try to push something? is there a “branch” I can use to test? (will look for it)… But I will have to redo the complete docs for this ASCIIDOC and all my muscle memory.

Have fun!
If we don’t talk sooner, have a great Xmas holliday.

Yeah, sort of. You will become a member of the Docs Team. That’s our virtual member card :slightly_smiling_face:

The best workflow is to use the “Fedora Local Authoring Tool(kit).

That is:

  1. You create a local subdirectory, e.g FedoraDocs in your home
  2. Therein, you create a subdir for the docs part you want to work on, here someling like QuickDocs and switch into that directory
  3. clone the quickrepo repro from pagure.io (currently, we are moving)
  4. Create a fork of the main quick doc repo. That will be the target to save you work.
  5. Install a AsciiDoc editor, e.g. ascidocsfx ( Releases · asciidocfx/AsciidocFX · GitHub )
  6. Edit the files or create new file.
  7. Push the modified clone to your fork created above
  8. Create a Pull Request

It was not me. And yes, there is a lot critique about the stack. On the other hand it is at the top of current website technology, or at least of a branch.

well, using a asciidoc editor makes it a lot easier.

no, just to create a local preview :wink:

I suppose you found the documentation at Contribute to Improve and Expand Docs Articles :: Fedora Docs

There is some additional docs, written for the Server working Group: User Documentation Maintenance :: Fedora Docs It’s basically the same, but a different wording and way to describe it.

WE are about to update and improve our Docs Team contribution documentation.

Good luck!

And I’ll still be online the next days.

Enterprise documentation writers used to write stuff in docbook, which is XML :slight_smile:

AsciiDoc syntax is very close to Markdown, but it provides a number of additional features, which make it more reliable when you need to validate and build larger multi-page documents.

You can see the use of :toc: feature in the example, which renders the table of contents in the document. Markdown doesn’t have that.

Admonitions (NOTE:,WARNING: and so on) is another example, which Markdown doesn’t have and which are extremely useful in the user documentation and how-tos.

While there is recommended editor mentioned above, most IDE’s or modern editors, GitHub and GitLab WebIDE included, can render asciidoc natively, so you don’t need to checkout or compile anything to preview the result.

3 Likes

Hehe… I used to write in html+css using notepad and FTP my documents to “the cloud”.

Thxs… That cheatsheet will come on handy. I will get on it really fast… I hope.

Will play around with this admirable new world before our baby Jesus pops up… I think. :smiley: