Techdocs / frontend /pages /3_πŸ“_Instructions.py
Hemanth Sai Garladinne
Update 3_πŸ“_Instructions.py
94b1209
raw
history blame
899 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.")
st.warning("To start using the CLI, please generate an API Key from the Streamlit app. You can also generate the API Key from the CLI.")
with st.expander("βš™οΈ Installation and setup"):
st.markdown(instructions)
with st.expander("πŸš€ CLI and Working", expanded=True):
st.markdown(working)