Techdocs / frontend /pages /2_πŸ“_Instructions.py
Hemanth Sai Garladinne
Update 2_πŸ“_Instructions.py
405ca58
raw
history blame contribute delete
762 Bytes
import streamlit as st
from PIL import Image
from layouts.mainlayout import mainlayout
@mainlayout
def instructions():
with open("frontend/content/installation.md", "r",encoding='utf-8') as f:
instructions = f.read()
with open("frontend/content/working.md", "r",encoding='utf-8') as f:
working = f.read()
st.markdown("### πŸ“ :rainbow[Using Techdocs via the CLI]")
st.info("Please use the CLI to generate the documentation for your project. The Streamlit app is just a demo to give the user an idea of the project.")
with st.expander("βš™οΈ Installation and setup"):
st.markdown(instructions)
with st.expander("πŸš€ CLI and Working", expanded=True):
st.markdown(working)